Commit 80cdf208 authored by James Clark's avatar James Clark Committed by Namhyung Kim
Browse files

tools headers UAPI: Sync linux/perf_event.h with the kernel sources



To pickup config4 changes.

Tested-by: default avatarLeo Yan <leo.yan@arm.com>
Reviewed-by: default avatarIan Rogers <irogers@google.com>
Signed-off-by: default avatarJames Clark <james.clark@linaro.org>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 9bef5cea
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 */
};

/*