mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
perf: use task-ids instead of pids
The pids might overlap, which isn't that useful for us when we are creating threads. Instead use the task-ids (which should basically overlap anyway).
This commit is contained in:
@ -358,8 +358,8 @@ sysprof_perf_source_handle_event (SysprofPerfCounterEvent *event,
|
|||||||
sysprof_capture_writer_add_fork (self->writer,
|
sysprof_capture_writer_add_fork (self->writer,
|
||||||
event->fork.time,
|
event->fork.time,
|
||||||
cpu,
|
cpu,
|
||||||
event->fork.ppid,
|
event->fork.ptid,
|
||||||
event->fork.pid);
|
event->fork.tid);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO: We should add support for "follow fork" of the GPid if we are
|
* TODO: We should add support for "follow fork" of the GPid if we are
|
||||||
|
|||||||
Reference in New Issue
Block a user