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
@@ -3044,7 +3044,7 @@ struct perf_env *perf_evsel__env(struct evsel *evsel)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static int store_evsel_ids(struct evsel *evsel, struct perf_evlist *evlist)
|
||||
static int store_evsel_ids(struct evsel *evsel, struct evlist *evlist)
|
||||
{
|
||||
int cpu, thread;
|
||||
|
||||
@@ -3062,7 +3062,7 @@ static int store_evsel_ids(struct evsel *evsel, struct perf_evlist *evlist)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int perf_evsel__store_ids(struct evsel *evsel, struct perf_evlist *evlist)
|
||||
int perf_evsel__store_ids(struct evsel *evsel, struct evlist *evlist)
|
||||
{
|
||||
struct perf_cpu_map *cpus = evsel->cpus;
|
||||
struct perf_thread_map *threads = evsel->threads;
|
||||
|
Reference in New Issue
Block a user