diff options
author | 2019-08-22 14:20:45 +0530 | |
---|---|---|
committer | 2019-08-22 17:16:57 -0300 | |
commit | 1ea770f6c1971bc101b3741f4d88b0b4ea5c4181 (patch) | |
tree | 078a16ae77c28b27866d893d528f4e90ec5e58f2 /tools/perf/util/trace-event-scripting.c | |
parent | libperf: Add perf_thread_map__nr/perf_thread_map__pid functions (diff) | |
download | linux-dev-1ea770f6c1971bc101b3741f4d88b0b4ea5c4181.tar.xz linux-dev-1ea770f6c1971bc101b3741f4d88b0b4ea5c4181.zip |
perf c2c: Fix report with offline cpus
If c2c is recorded on a machine where any cpus are offline, 'perf c2c
report' throws an error "node/cpu topology bugFailed setup nodes".
It fails because while preparing node-cpu mapping we don't consider
offline cpus.
Reported-by: Nageswara R Sastry <nasastry@in.ibm.com>
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Fixes: 1e181b92a2da ("perf c2c report: Add 'node' sort key")
Link: http://lkml.kernel.org/r/20190822085045.25108-1-ravi.bangoria@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions