Re: [PATCH] perf c2c: Fix c2c report for empty numa node
From: Ravi Bangoria
Date: Fri Mar 01 2019 - 22:07:44 EST
On 3/1/19 3:56 PM, Jiri Olsa wrote:
> Ravi Bangoria reported that we fail with empty
> numa node with following message:
>
> $ lscpu
> NUMA node0 CPU(s):
> NUMA node1 CPU(s): 0-4
>
> $ sudo ./perf c2c report
> node/cpu topology bugFailed setup nodes
>
> Fixing this by detecting empty node and keeping
> its cpu set empty.
>
> Reported-by: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/n/tip-dyq5jo6pn1j3yqavb5ukjwwu@xxxxxxxxxxxxxx
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Reported-by: Nageswara R Sastry <nasastry@xxxxxxxxxx>
Tested-by: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxx>