aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat.h
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2020-11-26 16:13:22 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-12-24 10:04:32 -0300
commitd526e1a033e03ec4515b1800f99d99a35c7ea790 (patch)
tree6335bde3d119fa5a64ad5c347bf879440562e391 /tools/perf/util/stat.h
parentperf cpumap: Add new map type for aggregation (diff)
downloadlinux-dev-d526e1a033e03ec4515b1800f99d99a35c7ea790.tar.xz
linux-dev-d526e1a033e03ec4515b1800f99d99a35c7ea790.zip
perf cpumap: Drop in cpu_aggr_map struct
Replace usages of perf_cpu_map with cpu_aggr map in places that are involved with 'perf stat' aggregation. This will then later be changed to be a map of cpu_aggr_id rather than an int so that more data can be stored. No functional changes. 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: John Garry <john.garry@huawei.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Thomas Richter <tmricht@linux.ibm.com> Link: https://lore.kernel.org/r/20201126141328.6509-7-james.clark@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h
index 87522ffb2db2..b5369730b4a2 100644
--- a/tools/perf/util/stat.h
+++ b/tools/perf/util/stat.h
@@ -139,9 +139,9 @@ struct perf_stat_config {
const char *csv_sep;
struct stats *walltime_nsecs_stats;
struct rusage ru_data;
- struct perf_cpu_map *aggr_map;
+ struct cpu_aggr_map *aggr_map;
aggr_get_id_t aggr_get_id;
- struct perf_cpu_map *cpus_aggr_map;
+ struct cpu_aggr_map *cpus_aggr_map;
u64 *walltime_run;
struct rblist metric_events;
int ctl_fd;