Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools/include: Sync uapi/linux/perf.h with the kernel sources

To pick up changes from:

608f6976c309 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 <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: "Liang, Kan" <kan.liang@linux.intel.com>
Cc: linux-perf-users@vger.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>

+4 -2
+4 -2
tools/include/uapi/linux/perf_event.h
··· 1349 1349 #define PERF_MEM_LVLNUM_L2 0x02 /* L2 */ 1350 1350 #define PERF_MEM_LVLNUM_L3 0x03 /* L3 */ 1351 1351 #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 */ 1353 1355 #define PERF_MEM_LVLNUM_UNC 0x08 /* Uncached */ 1354 1356 #define PERF_MEM_LVLNUM_CXL 0x09 /* CXL */ 1355 1357 #define PERF_MEM_LVLNUM_IO 0x0a /* I/O */ 1356 1358 #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 */ 1358 1360 #define PERF_MEM_LVLNUM_RAM 0x0d /* RAM */ 1359 1361 #define PERF_MEM_LVLNUM_PMEM 0x0e /* PMEM */ 1360 1362 #define PERF_MEM_LVLNUM_NA 0x0f /* N/A */