diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-10-16 13:41:03 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-10-20 00:01:05 +0300 |
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 62448c8175d3..f8d9d5ce24a9 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; }; |