mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
perf: only send exit events when tid==pid
This commit is contained in:
@ -331,6 +331,10 @@ sysprof_perf_source_handle_event (SysprofPerfCounterEvent *event,
|
||||
break;
|
||||
|
||||
case PERF_RECORD_EXIT:
|
||||
/* Ignore fork exits for now */
|
||||
if (event->exit.tid != event->exit.pid)
|
||||
break;
|
||||
|
||||
sysprof_capture_writer_add_exit (self->writer,
|
||||
event->exit.time,
|
||||
cpu,
|
||||
|
||||
Reference in New Issue
Block a user