diff --git a/lib/sources/sp-perf-counter.h b/lib/sources/sp-perf-counter.h index 213aff3c..a473b3dd 100644 --- a/lib/sources/sp-perf-counter.h +++ b/lib/sources/sp-perf-counter.h @@ -81,6 +81,7 @@ typedef struct typedef struct { struct perf_event_header header; + guint64 identifier; guint64 ip; guint32 pid; guint32 tid; diff --git a/lib/sources/sp-perf-source.c b/lib/sources/sp-perf-source.c index a7da6cc7..b762c244 100644 --- a/lib/sources/sp-perf-source.c +++ b/lib/sources/sp-perf-source.c @@ -291,6 +291,7 @@ sp_perf_source_start_pid (SpPerfSource *self, attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID + | PERF_SAMPLE_IDENTIFIER | PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_TIME; attr.wakeup_events = N_WAKEUP_EVENTS;