linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM
@ 2022-10-25 19:55 Arnaldo Carvalho de Melo
  2022-10-26  5:46 ` Ravi Bangoria
  0 siblings, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-10-25 19:55 UTC (permalink / raw)
  To: Ravi Bangoria
  Cc: Adrian Hunter, Ian Rogers, Jiri Olsa, Namhyung Kim,
	Peter Zijlstra, Linux Kernel Mailing List

Ravi,

	I'm updating the tools header copies and noticed that a previous
sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to
PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of
tools/uapi/linux/perf_event.h, please ack.

Thanks,

- Arnaldo

⬢[acme@toolbox perf-urgent]$ git diff tools/perf/util/mem-events.c
diff --git a/tools/perf/util/mem-events.c b/tools/perf/util/mem-events.c
index b3a91093069a5715..c80fce18025051ae 100644
--- a/tools/perf/util/mem-events.c
+++ b/tools/perf/util/mem-events.c
@@ -295,7 +295,7 @@ static const char * const mem_lvl[] = {
 };

 static const char * const mem_lvlnum[] = {
-       [PERF_MEM_LVLNUM_CXL] = "CXL",
+       [PERF_MEM_LVLNUM_EXTN_MEM] = "Extension mem",
        [PERF_MEM_LVLNUM_IO] = "I/O",
        [PERF_MEM_LVLNUM_ANY_CACHE] = "Any cache",
        [PERF_MEM_LVLNUM_LFB] = "LFB/MAB",
⬢[acme@toolbox perf-urgent]$

-- 

- Arnaldo

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM
  2022-10-25 19:55 perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM Arnaldo Carvalho de Melo
@ 2022-10-26  5:46 ` Ravi Bangoria
  2022-10-26 13:40   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Ravi Bangoria @ 2022-10-26  5:46 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Adrian Hunter, Ian Rogers, Jiri Olsa, Namhyung Kim,
	Peter Zijlstra, Linux Kernel Mailing List, Ravi Bangoria

Arnaldo,

On 26-Oct-22 1:25 AM, Arnaldo Carvalho de Melo wrote:
> Ravi,
> 
> 	I'm updating the tools header copies and noticed that a previous
> sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to
> PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of
> tools/uapi/linux/perf_event.h, please ack.

Kernel header needs to be fixed as discussed here:
https://lore.kernel.org/lkml/f6268268-b4e9-9ed6-0453-65792644d953@amd.com

Thanks,
Ravi

s/ravi.bangoria@linux.vnet.ibm.com/ravi.bangoria@amd.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM
  2022-10-26  5:46 ` Ravi Bangoria
@ 2022-10-26 13:40   ` Arnaldo Carvalho de Melo
  2022-10-26 13:52     ` Ravi Bangoria
  0 siblings, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-10-26 13:40 UTC (permalink / raw)
  To: Ravi Bangoria
  Cc: Adrian Hunter, Ian Rogers, Jiri Olsa, Namhyung Kim,
	Peter Zijlstra, Linux Kernel Mailing List

Em Wed, Oct 26, 2022 at 11:16:24AM +0530, Ravi Bangoria escreveu:
> Arnaldo,
> 
> On 26-Oct-22 1:25 AM, Arnaldo Carvalho de Melo wrote:
> > Ravi,
> > 
> > 	I'm updating the tools header copies and noticed that a previous
> > sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to
> > PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of
> > tools/uapi/linux/perf_event.h, please ack.
> 
> Kernel header needs to be fixed as discussed here:
> https://lore.kernel.org/lkml/f6268268-b4e9-9ed6-0453-65792644d953@amd.com

Gotcha, will leave the tools/ copy with CXL then.

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM
  2022-10-26 13:40   ` Arnaldo Carvalho de Melo
@ 2022-10-26 13:52     ` Ravi Bangoria
  0 siblings, 0 replies; 4+ messages in thread
From: Ravi Bangoria @ 2022-10-26 13:52 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Arnaldo Carvalho de Melo, Adrian Hunter, Ian Rogers, Jiri Olsa,
	Namhyung Kim, Linux Kernel Mailing List, Ravi Bangoria

On 26-Oct-22 7:10 PM, Arnaldo Carvalho de Melo wrote:
> Em Wed, Oct 26, 2022 at 11:16:24AM +0530, Ravi Bangoria escreveu:
>> Arnaldo,
>>
>> On 26-Oct-22 1:25 AM, Arnaldo Carvalho de Melo wrote:
>>> Ravi,
>>>
>>> 	I'm updating the tools header copies and noticed that a previous
>>> sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to
>>> PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of
>>> tools/uapi/linux/perf_event.h, please ack.
>>
>> Kernel header needs to be fixed as discussed here:
>> https://lore.kernel.org/lkml/f6268268-b4e9-9ed6-0453-65792644d953@amd.com

Peter, can you please pick up this patch.

> 
> Gotcha, will leave the tools/ copy with CXL then.
> 
> - Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-26 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 19:55 perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM Arnaldo Carvalho de Melo
2022-10-26  5:46 ` Ravi Bangoria
2022-10-26 13:40   ` Arnaldo Carvalho de Melo
2022-10-26 13:52     ` Ravi Bangoria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).