trace2:data: add trace2 instrumentation to index read/write
[gitweb.git] / builtin / am.c
index 58a2aef28bbcd715660422dc37042e79d4d350c1..cca494d9c3bac6d256dc9d0e42161975541a1357 100644 (file)
@@ -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);