Subject: [PATCH v3 06/14] trace2:data: add trace2 sub-process classification

From: "Jeff Hostetler via GitGitGadget" <[email-masked]>
Date: Wed, 30 Jan 2019 11:51:09 -0800 (PST)

From: Jeff Hostetler <[email-masked]>

Add trace2 classification for long-running processes
started in sub-process.c

Signed-off-by: Jeff Hostetler <[email-masked]>
---
 sub-process.c | 1 +
 1 file changed, 1 insertion(+)

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) {
-- 
gitgitgadget