summaryrefslogtreecommitdiff
path: root/tools/perf/util/cpumap.h
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2020-11-26 17:13:24 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-12-24 16:04:52 +0300
commitfcd83a35dd93b89d3f48cfcd33c31b112cc96180 (patch)
treef500e86bccadf4822b56ff5a65565c6550d94528 /tools/perf/util/cpumap.h
parentff5232956e074994a66656f709c3ad1ee3d8a550 (diff)
downloadlinux-fcd83a35dd93b89d3f48cfcd33c31b112cc96180.tar.xz
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 'tools/perf/util/cpumap.h')
-rw-r--r--tools/perf/util/cpumap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h
index d8fc265bc762..f79e92603024 100644
--- a/tools/perf/util/cpumap.h
+++ b/tools/perf/util/cpumap.h
@@ -9,6 +9,7 @@
struct aggr_cpu_id {
int id;
+ int node;
};
struct cpu_aggr_map {