diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-03-09 13:03:40 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-03-09 13:03:40 +0100 |
commit | 905203411d8b96cf931dacc359982108a5893c9b (patch) | |
tree | b71a03605a5a97d13f25224df8943375d3ebff1f /tools/perf/util/stat.c | |
parent | perf script: Fixup 'struct evsel_script' method prefix (diff) | |
download | linux-905203411d8b96cf931dacc359982108a5893c9b.tar.xz linux-905203411d8b96cf931dacc359982108a5893c9b.zip |
perf stat: Fixup __perf_stat_evsel__is() prefix
This is a perf_stat_evsel method, so should have that as its prefix,
previously it was swapped as __perf_evsel_stat__is().
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.c')
-rw-r--r-- | tools/perf/util/stat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/stat.c b/tools/perf/util/stat.c index c400f8dde017..2db46b9bebd0 100644 --- a/tools/perf/util/stat.c +++ b/tools/perf/util/stat.c @@ -76,8 +76,7 @@ double rel_stddev_stats(double stddev, double avg) return pct; } -bool __perf_evsel_stat__is(struct evsel *evsel, - enum perf_stat_evsel_id id) +bool __perf_stat_evsel__is(struct evsel *evsel, enum perf_stat_evsel_id id) { struct perf_stat_evsel *ps = evsel->stats; |