From: Jeff Hostetler Date: Fri, 22 Feb 2019 22:25:05 +0000 (-0800) Subject: trace2:data: add trace2 sub-process classification X-Git-Tag: v2.22.0-rc1~31^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0671b4d193e52330db1e49ac15460cae7ff4971b?hp=--cc trace2:data: add trace2 sub-process classification Add trace2 classification for long-running processes started in sub-process.c Signed-off-by: Jeff Hostetler Signed-off-by: Junio C Hamano --- 0671b4d193e52330db1e49ac15460cae7ff4971b diff --git a/sub-process.c b/sub-process.c index 8d2a1707cf..3f4af93555 100644 --- a/sub-process.c +++ b/sub-process.c @@ -88,6 +88,7 @@ int subprocess_start(struct hashmap *hashmap, struct subprocess_entry *entry, co process->out = -1; process->clean_on_exit = 1; process->clean_on_exit_handler = subprocess_exit_handler; + process->trace2_child_class = "subprocess"; err = start_command(process); if (err) {