Ignore fork events that are just new threads being spawned.

These would cause mysterious new processes to show up.
This commit is contained in:
Søren Sandmann Pedersen
2010-03-10 06:58:22 -05:00
parent 08d4d26060
commit 2d5cf4c93f
2 changed files with 13 additions and 2 deletions

View File

@ -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);