diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-06-26 11:29:12 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-06-26 11:25:03 -0300 |
commit | 57b289159ab4fe1f7b2b531464cf67f65e48dd00 (patch) | |
tree | 2b68552b3f20924de25012fa0aacabd045ef6c12 /tools/perf/util/stat.h | |
parent | a6fa003855d38d53d90c1a8a5827102e62702334 (diff) | |
download | op-kernel-dev-57b289159ab4fe1f7b2b531464cf67f65e48dd00.zip op-kernel-dev-57b289159ab4fe1f7b2b531464cf67f65e48dd00.tar.gz |
perf stat: Rename struct perf_counts::cpu member to values
Renaming 'struct xyarray *cpu' pointer to more fitting/generic values,
because now we store both cpu and thread values.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1435310967-14570-8-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.h')
-rw-r--r-- | tools/perf/util/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h index e0b8dc5..295d1e2 100644 --- a/tools/perf/util/stat.h +++ b/tools/perf/util/stat.h @@ -46,13 +46,13 @@ struct perf_counts_values { struct perf_counts { s8 scaled; struct perf_counts_values aggr; - struct xyarray *cpu; + struct xyarray *values; }; static inline struct perf_counts_values* perf_counts(struct perf_counts *counts, int cpu, int thread) { - return xyarray__entry(counts->cpu, cpu, thread); + return xyarray__entry(counts->values, cpu, thread); } void update_stats(struct stats *stats, u64 val); |