perf evlist: Rename struct perf_evlist to struct evlist
Rename struct perf_evlist to struct evlist, so we don't have a name clash when we add struct perf_evlist in libperf. Committer notes: Added fixes to build on arm64, from Jiri and from me (tools/perf/util/cs-etm.c) Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190721112506.12306-6-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
32dcd021d0
commit
63503dba87
@ -299,7 +299,7 @@ static const char *get_ratio_color(enum grc_type type, double ratio)
|
||||
return color;
|
||||
}
|
||||
|
||||
static struct evsel *perf_stat__find_event(struct perf_evlist *evsel_list,
|
||||
static struct evsel *perf_stat__find_event(struct evlist *evsel_list,
|
||||
const char *name)
|
||||
{
|
||||
struct evsel *c2;
|
||||
@ -312,7 +312,7 @@ static struct evsel *perf_stat__find_event(struct perf_evlist *evsel_list,
|
||||
}
|
||||
|
||||
/* Mark MetricExpr target events and link events using them to them. */
|
||||
void perf_stat__collect_metric_expr(struct perf_evlist *evsel_list)
|
||||
void perf_stat__collect_metric_expr(struct evlist *evsel_list)
|
||||
{
|
||||
struct evsel *counter, *leader, **metric_events, *oc;
|
||||
bool found;
|
||||
|
Reference in New Issue
Block a user