diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-08-24 16:21:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-24 16:21:51 -0700 |
commit | d2e30562620c9dda7b685f4d3bcb8acab537d97c (patch) | |
tree | 859af58dd3a1e66ff52958f502d7be6803e5e708 /technical | |
parent | 0b5c6b0d7d93655c9d86ee9d071197aa8208e575 (diff) | |
download | git-htmldocs-d2e30562620c9dda7b685f4d3bcb8acab537d97c.tar.gz |
Autogenerated HTML docs for v2.33.0-69-gc4203
Diffstat (limited to 'technical')
-rw-r--r-- | technical/api-trace2.html | 21 | ||||
-rw-r--r-- | technical/api-trace2.txt | 14 |
2 files changed, 34 insertions, 1 deletions
diff --git a/technical/api-trace2.html b/technical/api-trace2.html index 78f28e28a..97bffdf59 100644 --- a/technical/api-trace2.html +++ b/technical/api-trace2.html @@ -1371,6 +1371,25 @@ about specific error arguments.</p></div> </div></div>
</dd>
<dt class="hdlist1">
+<code>"cmd_ancestry"</code>
+</dt>
+<dd>
+<p>
+ This event contains the text command name for the parent (and earlier
+ generations of parents) of the current process, in an array ordered from
+ nearest parent to furthest great-grandparent. It may not be implemented
+ on all platforms.
+</p>
+<div class="listingblock">
+<div class="content">
+<pre><code>{
+ "event":"cmd_ancestry",
+ ...
+ "ancestry":["bash","tmux: server","systemd"]
+}</code></pre>
+</div></div>
+</dd>
+<dt class="hdlist1">
<code>"cmd_name"</code>
</dt>
<dd>
@@ -2156,7 +2175,7 @@ Trace2 targets (and convert <key> to a "category"). <div id="footer">
<div id="footer-text">
Last updated
- 2021-07-13 17:37:55 PDT
+ 2021-08-24 16:18:46 PDT
</div>
</div>
</body>
diff --git a/technical/api-trace2.txt b/technical/api-trace2.txt index 037a91cbc..b9f3198fb 100644 --- a/technical/api-trace2.txt +++ b/technical/api-trace2.txt @@ -493,6 +493,20 @@ about specific error arguments. } ------------ +`"cmd_ancestry"`:: + This event contains the text command name for the parent (and earlier + generations of parents) of the current process, in an array ordered from + nearest parent to furthest great-grandparent. It may not be implemented + on all platforms. ++ +------------ +{ + "event":"cmd_ancestry", + ... + "ancestry":["bash","tmux: server","systemd"] +} +------------ + `"cmd_name"`:: This event contains the command name for this git process and the hierarchy of commands from parent git processes. |