diff options
author | Ravi Bangoria <ravi.bangoria@amd.com> | 2022-09-28 15:27:57 +0530 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-29 12:20:56 +0200 |
commit | cfef80bad4cf79cdc964a53c98254dfa462be83f (patch) | |
tree | 59867df3b174809030507f470680dc6dba7c294e /include | |
parent | 5b26af6d2b7854639ddf893366bbca7e74fa7c54 (diff) | |
download | lwn-cfef80bad4cf79cdc964a53c98254dfa462be83f.tar.gz lwn-cfef80bad4cf79cdc964a53c98254dfa462be83f.zip |
perf/uapi: Define PERF_MEM_SNOOPX_PEER in kernel header file
PERF_MEM_SNOOPX_PEER is defined only in tools uapi header. Although
it's used only by perf tool, not defining it in kernel header can
create problems in future.
Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220928095805.596-8-ravi.bangoria@amd.com
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/perf_event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index 4ae3c249f675..85be78e0e7f6 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h @@ -1356,7 +1356,7 @@ union perf_mem_data_src { #define PERF_MEM_SNOOP_SHIFT 19 #define PERF_MEM_SNOOPX_FWD 0x01 /* forward */ -/* 1 free */ +#define PERF_MEM_SNOOPX_PEER 0x02 /* xfer from peer */ #define PERF_MEM_SNOOPX_SHIFT 38 /* locked instruction */ |