Skip to content

Commit cfef80b

Browse files
Ravi BangoriaPeter Zijlstra
authored andcommitted
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 5b26af6 commit cfef80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/perf_event.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ union perf_mem_data_src {
13561356
#define PERF_MEM_SNOOP_SHIFT 19
13571357

13581358
#define PERF_MEM_SNOOPX_FWD 0x01 /* forward */
1359-
/* 1 free */
1359+
#define PERF_MEM_SNOOPX_PEER 0x02 /* xfer from peer */
13601360
#define PERF_MEM_SNOOPX_SHIFT 38
13611361

13621362
/* locked instruction */

0 commit comments

Comments
 (0)