[GIT pull] perf/urgent for 5.10-rc1

From: Thomas Gleixner
Date: Sun Oct 25 2020 - 10:25:54 EST


Linus,

please pull the latest perf/urgent branch from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-2020-10-25

up to: f3d301c1f2f5: perf: correct SNOOPX field offset


A single fix to compute the field offset of the SNOOPX bit in the data
source bitmask of perf events correctly.

Thanks,

tglx

------------------>
Al Grant (1):
perf: correct SNOOPX field offset


include/uapi/linux/perf_event.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h
index 077e7ee69e3d..b95d3c485d27 100644
--- a/include/uapi/linux/perf_event.h
+++ b/include/uapi/linux/perf_event.h
@@ -1196,7 +1196,7 @@ union perf_mem_data_src {

#define PERF_MEM_SNOOPX_FWD 0x01 /* forward */
/* 1 free */
-#define PERF_MEM_SNOOPX_SHIFT 37
+#define PERF_MEM_SNOOPX_SHIFT 38

/* locked instruction */
#define PERF_MEM_LOCK_NA 0x01 /* not available */