summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat-display.c
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2020-11-26 15:13:24 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-12-24 14:04:52 +0100
commitfcd83a35dd93b89d3f48cfcd33c31b112cc96180 (patch)
treef500e86bccadf4822b56ff5a65565c6550d94528 /tools/perf/util/stat-display.c
parentperf stat aggregation: Start using cpu_aggr_id in map (diff)
downloadlinux-fcd83a35dd93b89d3f48cfcd33c31b112cc96180.tar.xz
linux-fcd83a35dd93b89d3f48cfcd33c31b112cc96180.zip
perf stat aggregation: Add separate node member
Add node as a separate member so that it doesn't have to be packed into the int value. Signed-off-by: James Clark <james.clark@arm.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Jiri Olsa <jolsa@redhat.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Tested-by: John Garry <john.garry@huawei.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Richter <tmricht@linux.ibm.com> Link: https://lore.kernel.org/r/20201126141328.6509-9-james.clark@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/stat-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/stat-display.c b/tools/perf/util/stat-display.c
index a6309cedb37b..790392247026 100644
--- a/tools/perf/util/stat-display.c
+++ b/tools/perf/util/stat-display.c
@@ -104,7 +104,7 @@ static void aggr_printout(struct perf_stat_config *config,
case AGGR_NODE:
fprintf(config->output, "N%*d%s%*d%s",
config->csv_output ? 0 : -5,
- id.id,
+ id.node,
config->csv_sep,
config->csv_output ? 0 : 4,
nr,