summaryrefslogtreecommitdiff
path: root/tools/perf/util/stat.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-03-09 09:03:40 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-03-09 09:03:40 -0300
commit905203411d8b96cf931dacc359982108a5893c9b (patch)
treeb71a03605a5a97d13f25224df8943375d3ebff1f /tools/perf/util/stat.h
parent297e69bfa4c7aa27259dd456af1377e868337043 (diff)
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.h')
-rw-r--r--tools/perf/util/stat.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h
index d85c292148bb..41107b8deac5 100644
--- a/tools/perf/util/stat.h
+++ b/tools/perf/util/stat.h
@@ -187,11 +187,10 @@ struct perf_aggr_thread_value {
u64 ena;
};
-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);
#define perf_stat_evsel__is(evsel, id) \
- __perf_evsel_stat__is(evsel, PERF_STAT_EVSEL_ID__ ## id)
+ __perf_stat_evsel__is(evsel, PERF_STAT_EVSEL_ID__ ## id)
extern struct runtime_stat rt_stat;
extern struct stats walltime_nsecs_stats;