mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
Ignore fork events that are just new threads being spawned.
These would cause mysterious new processes to show up.
This commit is contained in:
@ -574,7 +574,7 @@ process_comm (Collector *collector, comm_event_t *comm)
|
||||
static void
|
||||
process_fork (Collector *collector, fork_event_t *fork)
|
||||
{
|
||||
d_print ("ppid: %d pid: %d ptid: %d tid %d",
|
||||
g_print ("ppid: %d pid: %d ptid: %d tid %d\n",
|
||||
fork->ppid, fork->pid, fork->ptid, fork->tid);
|
||||
|
||||
tracker_add_fork (collector->tracker, fork->ppid, fork->pid);
|
||||
|
||||
Reference in New Issue
Block a user