mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
sources/perf: Include the sample identifier in PERF_RECORD_SAMPLE.
If we want to start watching other perf events, we need a way to look up what perf event we got when a PERF_RECORD_SAMPLE comes in. The sample identifier is what does that.
This commit is contained in:
committed by
Christian Hergert
parent
83b75e6528
commit
925dadce82
@ -81,6 +81,7 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
struct perf_event_header header;
|
||||
guint64 identifier;
|
||||
guint64 ip;
|
||||
guint32 pid;
|
||||
guint32 tid;
|
||||
|
||||
Reference in New Issue
Block a user