trace2 docs: a couple of grammar fixes

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed May 3, 2022 at 10:26 UTC 3188d3c0b9a9e7029183cff86743b5a7ae9902dc
1 file changed +8 -8
Documentation/technical/api-trace2.txt
+8 -8
@@ -24,8 +24,8 @@ for example.
24
25 Trace2 is controlled using `trace2.*` config values in the system and
26 global config files and `GIT_TRACE2*` environment variables. Trace2 does
27 -not read from repo local or worktree config files or respect `-c`
28 -command line config settings.
27 +not read from repo local or worktree config files, nor does it respect
28 +`-c` command line config settings.
29
30 == Trace2 Targets
31
@@ -34,8 +34,8 @@ Format details are given in a later section.
34
35 === The Normal Format Target
36
37 -The normal format target is a tradition printf format and similar
38 -to GIT_TRACE format. This format is enabled with the `GIT_TRACE2`
37 +The normal format target is a traditional printf format and similar
38 +to the GIT_TRACE format. This format is enabled with the `GIT_TRACE2`
39 environment variable or the `trace2.normalTarget` system or global
40 config setting.
41
@@ -635,7 +635,7 @@ process may be a shell script which doesn't have a session-id.)
635 +
636 This event is generated after the child is started in the background
637 and given a little time to boot up and start working. If the child
638 -startups normally and while the parent is still waiting, the "ready"
638 +starts up normally while the parent is still waiting, the "ready"
639 field will have the value "ready".
640 If the child is too slow to start and the parent times out, the field
641 will have the value "timeout".
@@ -949,7 +949,7 @@ atexit elapsed:3.868970 code:0
949
950 Regions::
951
952 - Regions can be use to time an interesting section of code.
952 + Regions can be used to time an interesting section of code.
953 +
954 ----------------
955 void wt_status_collect(struct wt_status *s)
@@ -1103,9 +1103,9 @@ Thread Events::
1103
1104 Thread messages added to a thread-proc.
1105 +
1106 -For example, the multithreaded preload-index code can be
1106 +For example, the multi-threaded preload-index code can be
1107 instrumented with a region around the thread pool and then
1108 -per-thread start and exit events within the threadproc.
1108 +per-thread start and exit events within the thread-proc.
1109 +
1110 ----------------
1111 static void *preload_thread(void *_data)