Re: [PATCH] perf mem2node: Improve warning if detected no memory nodes

2020-10-20 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 20, 2020 at 08:06:27AM +0200, Jiri Olsa escreveu: > On Mon, Oct 19, 2020 at 08:36:13AM +0800, Leo Yan wrote: > > Some archs (e.g. x86 and Arm64) don't enable the configuration > > CONFIG_MEMORY_HOTPLUG by default, if this configuration is not enabled > > when build the kernel image,

Re: [PATCH] perf mem2node: Improve warning if detected no memory nodes

2020-10-20 Thread Jiri Olsa
On Mon, Oct 19, 2020 at 08:36:13AM +0800, Leo Yan wrote: > Some archs (e.g. x86 and Arm64) don't enable the configuration > CONFIG_MEMORY_HOTPLUG by default, if this configuration is not enabled > when build the kernel image, the SysFS for memory nodes will be missed. > This results in perf tool

[PATCH] perf mem2node: Improve warning if detected no memory nodes

2020-10-18 Thread Leo Yan
Some archs (e.g. x86 and Arm64) don't enable the configuration CONFIG_MEMORY_HOTPLUG by default, if this configuration is not enabled when build the kernel image, the SysFS for memory nodes will be missed. This results in perf tool has no chance to catpure the memory nodes information, when perf