trace2: fixup access problem on /etc/gitconfig in read_very_early_config
[gitweb.git] / sub-process.c
index 8d2a1707cfe1a7d0fb6b589f0857a6389a8a3d70..3f4af935557c5ee22b0b1b9b43d2778161210765 100644 (file)
@@ -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) {