Messages in this thread | | | Date | Wed, 26 Oct 2022 08:54:55 +0530 | Subject | Re: [PATCH 1/1 FYI] tools headers UAPI: Sync linux/perf_event.h with the kernel sources | From | Ravi Bangoria <> |
| |
Hi Arnaldo,
On 26-Oct-22 1:34 AM, arnaldo.melo@gmail.com wrote: > To pick the changes in: > > cfef80bad4cf79cd ("perf/uapi: Define PERF_MEM_SNOOPX_PEER in kernel header file") > ee3e88dfec23153d ("perf/mem: Introduce PERF_MEM_LVLNUM_{EXTN_MEM|IO}") > b4e12b2d70fd9ecc ("perf: Kill __PERF_SAMPLE_CALLCHAIN_EARLY") > > A previous sync: > > b7ddd38ccc723f0d ("tools headers UAPI: Sync include/uapi/linux/perf_event.h header with the kernel") > > brought a PERF_MEM_LVLNUM_CXL, and used it in > tools/perf/util/mem-events.c, but when the feature really hit the kernel > that define had been renamed to PERF_MEM_LVLNUM_EXTN_MEM, so reflect > that on the tooling side.
It's other way around. I proposed PERF_MEM_LVLNUM_EXTN_MEM but it was vague and thus we replaced it with PERF_MEM_LVLNUM_CXL. So tool side file is correct and kernel header needs to be fixed:
https://lore.kernel.org/lkml/f6268268-b4e9-9ed6-0453-65792644d953@amd.com
Thanks, Ravi
| |