diff options
| author | Jeff Hostetler <jeffhost@microsoft.com> | 2019-02-22 14:25:05 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-02-22 15:28:12 -0800 |
| commit | 0671b4d193e52330db1e49ac15460cae7ff4971b (patch) | |
| tree | ac1dcd5881596f91daf6219c0f7c16f9fc4ce72d | |
| parent | eee73d1dceb307a543de5b8645827033451ab3bc (diff) | |
| download | git-0671b4d193e52330db1e49ac15460cae7ff4971b.tar.xz | |
trace2:data: add trace2 sub-process classification
Add trace2 classification for long-running processes
started in sub-process.c
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | sub-process.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |
