Skip to content

Commit 06a1574

Browse files
committed
tools headers UAPI: Sync linux/perf_event.h with the kernel sources
To pick up the changes in: 09519ec ("perf: Add perf_event_attr::config3") The patches for the tooling side will come later. This addresses this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h' diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Rob Herring <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 7d09306 commit 06a1574

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/include/uapi/linux/perf_event.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ enum perf_event_read_format {
374374
#define PERF_ATTR_SIZE_VER5 112 /* add: aux_watermark */
375375
#define PERF_ATTR_SIZE_VER6 120 /* add: aux_sample_size */
376376
#define PERF_ATTR_SIZE_VER7 128 /* add: sig_data */
377+
#define PERF_ATTR_SIZE_VER8 136 /* add: config3 */
377378

378379
/*
379380
* Hardware event_id to monitor via a performance monitoring event:
@@ -515,6 +516,8 @@ struct perf_event_attr {
515516
* truncated accordingly on 32 bit architectures.
516517
*/
517518
__u64 sig_data;
519+
520+
__u64 config3; /* extension of config2 */
518521
};
519522

520523
/*

0 commit comments

Comments
 (0)