diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-10-16 10:41:03 (GMT) |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-10-19 21:01:05 (GMT) |
commit | 581cc8a2a2a00afc864840720186b0f6a38079d9 (patch) | |
tree | 9c5944bf9c29b672a831c9751b2e721e0ce8f255 /tools/perf/util/stat.h | |
parent | 3a134ae96ca0af06804d343019b85026486e6fe1 (diff) | |
download | linux-581cc8a2a2a00afc864840720186b0f6a38079d9.tar.xz |
perf stat: Rename perf_stat struct into perf_stat_evsel
It's used as the perf_evsel::priv data, so the name suits better. Also
we'll need the perf_stat name free for more generic struct.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Kan Liang <kan.liang@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1444992092-17897-29-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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h index 62448c8..f8d9d5c 100644 --- a/tools/perf/util/stat.h +++ b/tools/perf/util/stat.h @@ -20,7 +20,7 @@ enum perf_stat_evsel_id { PERF_STAT_EVSEL_ID__MAX, }; -struct perf_stat { +struct perf_stat_evsel { struct stats res_stats[3]; enum perf_stat_evsel_id id; }; |