diff options
| author | Jiri Olsa <[email protected]> | 2019-08-28 15:57:05 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-29 08:36:11 -0300 |
| commit | aedebdca09ca6efa7efbc0bf26d94cb235120ee4 (patch) | |
| tree | 6ca87f596f266dac7e4c4cfad7c0031b87aa7fe7 /tools/perf/lib/include | |
| parent | 3460efb2e842cccc4566756f194a1be0547f7098 (diff) | |
libperf: Add PERF_RECORD_AUX 'struct aux_event' to perf/event.h
Move the PERF_RECORD_AUX event definition to libperf's event.h.
In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used
events to their generic '__u*' versions.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/lib/include')
| -rw-r--r-- | tools/perf/lib/include/perf/event.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/lib/include/perf/event.h b/tools/perf/lib/include/perf/event.h index 6292b7c41bac..d453ac833a58 100644 --- a/tools/perf/lib/include/perf/event.h +++ b/tools/perf/lib/include/perf/event.h @@ -234,4 +234,11 @@ struct auxtrace_error_event { char msg[MAX_AUXTRACE_ERROR_MSG]; }; +struct aux_event { + struct perf_event_header header; + __u64 aux_offset; + __u64 aux_size; + __u64 flags; +}; + #endif /* __LIBPERF_EVENT_H */ |