Skip to content

Commit 0671b4d

Browse files
jeffhostetlergitster
authored andcommitted
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>
1 parent eee73d1 commit 0671b4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sub-process.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ int subprocess_start(struct hashmap *hashmap, struct subprocess_entry *entry, co
8888
process->out = -1;
8989
process->clean_on_exit = 1;
9090
process->clean_on_exit_handler = subprocess_exit_handler;
91+
process->trace2_child_class = "subprocess";
9192

9293
err = start_command(process);
9394
if (err) {

0 commit comments

Comments
 (0)