Skip to content

Commit 8ec9497

Browse files
committed
tools/include: Sync uapi/linux/perf.h with the kernel sources
To pick up changes from: 608f697 perf/x86/intel: Support new data source for Lunar Lake This should be used to beautify perf syscall arguments and it addresses these tools/perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h Please see tools/include/uapi/README for details (it's in the first patch of this series). Cc: Peter Zijlstra <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: "Liang, Kan" <[email protected]> Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent a625df3 commit 8ec9497

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/include/uapi/linux/perf_event.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,12 +1349,14 @@ union perf_mem_data_src {
13491349
#define PERF_MEM_LVLNUM_L2 0x02 /* L2 */
13501350
#define PERF_MEM_LVLNUM_L3 0x03 /* L3 */
13511351
#define PERF_MEM_LVLNUM_L4 0x04 /* L4 */
1352-
/* 5-0x7 available */
1352+
#define PERF_MEM_LVLNUM_L2_MHB 0x05 /* L2 Miss Handling Buffer */
1353+
#define PERF_MEM_LVLNUM_MSC 0x06 /* Memory-side Cache */
1354+
/* 0x7 available */
13531355
#define PERF_MEM_LVLNUM_UNC 0x08 /* Uncached */
13541356
#define PERF_MEM_LVLNUM_CXL 0x09 /* CXL */
13551357
#define PERF_MEM_LVLNUM_IO 0x0a /* I/O */
13561358
#define PERF_MEM_LVLNUM_ANY_CACHE 0x0b /* Any cache */
1357-
#define PERF_MEM_LVLNUM_LFB 0x0c /* LFB */
1359+
#define PERF_MEM_LVLNUM_LFB 0x0c /* LFB / L1 Miss Handling Buffer */
13581360
#define PERF_MEM_LVLNUM_RAM 0x0d /* RAM */
13591361
#define PERF_MEM_LVLNUM_PMEM 0x0e /* PMEM */
13601362
#define PERF_MEM_LVLNUM_NA 0x0f /* N/A */

0 commit comments

Comments
 (0)