Skip to content

Commit 526fffa

Browse files
Ravi BangoriaPeter Zijlstra
authored andcommitted
perf/mem: Introduce PERF_MEM_LVLNUM_UNC
Older API PERF_MEM_LVL_UNC can be replaced by PERF_MEM_LVLNUM_UNC. Signed-off-by: Ravi Bangoria <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1af61ad commit 526fffa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/uapi/linux/perf_event.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,8 @@ union perf_mem_data_src {
13391339
#define PERF_MEM_LVLNUM_L2 0x02 /* L2 */
13401340
#define PERF_MEM_LVLNUM_L3 0x03 /* L3 */
13411341
#define PERF_MEM_LVLNUM_L4 0x04 /* L4 */
1342-
/* 5-0x8 available */
1342+
/* 5-0x7 available */
1343+
#define PERF_MEM_LVLNUM_UNC 0x08 /* Uncached */
13431344
#define PERF_MEM_LVLNUM_CXL 0x09 /* CXL */
13441345
#define PERF_MEM_LVLNUM_IO 0x0a /* I/O */
13451346
#define PERF_MEM_LVLNUM_ANY_CACHE 0x0b /* Any cache */

0 commit comments

Comments
 (0)