Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
trace2:data: add trace2 sub-process classification
author
Jeff Hostetler
<jeffhost@microsoft.com>
Fri, 22 Feb 2019 22:25:05 +0000
(14:25 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 22 Feb 2019 23:28:12 +0000
(15:28 -0800)
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>
sub-process.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
eee73d1
)
diff --git
a/sub-process.c
b/sub-process.c
index 8d2a1707cfe1a7d0fb6b589f0857a6389a8a3d70..3f4af935557c5ee22b0b1b9b43d2778161210765 100644
(file)
--- 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) {