Skip to content

Commit

Permalink
trace2:data: add trace2 sub-process classification
Browse files Browse the repository at this point in the history
Add trace2 classification for long-running processes
started in sub-process.c

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
  • Loading branch information
jeffhostetler committed Dec 21, 2018
1 parent 0b2eb68 commit a1ab077
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sub-process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a1ab077

Please sign in to comment.