summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2025-11-11 11:37:57 +0000
committerNamhyung Kim <namhyung@kernel.org>2025-11-24 12:20:06 -0800
commit80cdf208117a36de82a30d210b3b8df0f193e75b (patch)
tree2ea8692928a1906e7e353013a4fe3ecaecd75dd2 /tools/include
parent9bef5cead63d5d8fad3ba7ebaf26f3f4ee172c82 (diff)
tools headers UAPI: Sync linux/perf_event.h with the kernel sources
To pickup config4 changes. Tested-by: Leo Yan <leo.yan@arm.com> Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: James Clark <james.clark@linaro.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/perf_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h
index 78a362b80027..0d0ed85ad8cb 100644
--- a/tools/include/uapi/linux/perf_event.h
+++ b/tools/include/uapi/linux/perf_event.h
@@ -382,6 +382,7 @@ enum perf_event_read_format {
#define PERF_ATTR_SIZE_VER6 120 /* Add: aux_sample_size */
#define PERF_ATTR_SIZE_VER7 128 /* Add: sig_data */
#define PERF_ATTR_SIZE_VER8 136 /* Add: config3 */
+#define PERF_ATTR_SIZE_VER9 144 /* add: config4 */
/*
* 'struct perf_event_attr' contains various attributes that define
@@ -543,6 +544,7 @@ struct perf_event_attr {
__u64 sig_data;
__u64 config3; /* extension of config2 */
+ __u64 config4; /* extension of config3 */
};
/*