mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 13:16:22 +00:00
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>
This commit is contained in:
parent
297e69bfa4
commit
905203411d
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user