Fix: reset procname on fork in child process
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 43914465d30a64045c448574290866f577715f30..b61833155425988d261e9e584247e3b76ebf9c90 100644 (file)
@@ -2011,7 +2011,9 @@ void ust_after_fork_child(sigset_t *restore_sigset)
 {
        if (URCU_TLS(lttng_ust_nest_count))
                return;
+       lttng_context_vpid_reset();
        lttng_context_vtid_reset();
+       lttng_context_procname_reset();
        DBG("process %d", getpid());
        /* Release urcu mutexes */
        rcu_bp_after_fork_child();
This page took 0.023509 seconds and 4 git commands to generate.