Commit eee73d1d authored by Jeff Hostetler's avatar Jeff Hostetler Committed by Junio C Hamano

trace2:data: add editor/pager child classification

Add trace2 process classification for editor and pager
child processes.
Signed-off-by: 's avatarJeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: 's avatarJunio C Hamano <gitster@pobox.com>
parent 942b2740
......@@ -78,6 +78,7 @@ static int launch_specified_editor(const char *editor, const char *path,
p.argv = args;
p.env = env;
p.use_shell = 1;
p.trace2_child_class = "editor";
if (start_command(&p) < 0)
return error("unable to start editor '%s'", editor);
......
......@@ -100,6 +100,7 @@ void prepare_pager_args(struct child_process *pager_process, const char *pager)
argv_array_push(&pager_process->args, pager);
pager_process->use_shell = 1;
setup_pager_env(&pager_process->env_array);
pager_process->trace2_child_class = "pager";
}
void setup_pager(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment