[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e61eeed0-0b93-4bac-6247-55fabb70eb87@amd.com>
Date: Wed, 26 Oct 2022 08:54:55 +0530
From: Ravi Bangoria <ravi.bangoria@....com>
To: arnaldo.melo@...il.com, acme@...hat.com
Cc: Adrian Hunter <adrian.hunter@...el.com>,
Ian Rogers <irogers@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Ravi Bangoria <ravi.bangoria@....com>
Subject: Re: [PATCH 1/1 FYI] tools headers UAPI: Sync linux/perf_event.h with
the kernel sources
Hi Arnaldo,
On 26-Oct-22 1:34 AM, arnaldo.melo@...il.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
Powered by blists - more mailing lists