summaryrefslogtreecommitdiff
path: root/builtin/am.c
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2019-02-22 14:25:06 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-22 15:28:21 -0800
commit6206286e49b88bd4bb709c62e7b7455685c1993a (patch)
treee127ef78c19956cd4ac159219b9a7b4c8310b46e /builtin/am.c
parenttrace2:data: add trace2 transport child classification (diff)
downloadtgif-6206286e49b88bd4bb709c62e7b7455685c1993a.tar.xz
trace2:data: add trace2 hook classification
Classify certain child processes as hooks. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/am.c')
-rw-r--r--builtin/am.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/am.c b/builtin/am.c
index 58a2aef28b..cca494d9c3 100644
--- a/builtin/am.c
+++ b/builtin/am.c
@@ -453,6 +453,7 @@ static int run_post_rewrite_hook(const struct am_state *state)
cp.in = xopen(am_path(state, "rewritten"), O_RDONLY);
cp.stdout_to_stderr = 1;
+ cp.trace2_hook_name = "post-rewrite";
ret = run_command(&cp);