diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2019-02-23 01:25:06 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-23 02:28:21 +0300 |
commit | 6206286e49b88bd4bb709c62e7b7455685c1993a (patch) | |
tree | e127ef78c19956cd4ac159219b9a7b4c8310b46e /builtin/am.c | |
parent | abd81a3d79d6c054f149ba0cd4d337b0a2d68027 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/am.c b/builtin/am.c index 58a2aef28bb..cca494d9c3b 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); |