Skip to content

Commit a1ab077

Browse files
committed
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>
1 parent 0b2eb68 commit a1ab077

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)