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
@@ -168,7 +168,7 @@ static int perf_evsel__alloc_stats(struct evsel *evsel, bool alloc_raw)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int perf_evlist__alloc_stats(struct perf_evlist *evlist, bool alloc_raw)
|
||||
int perf_evlist__alloc_stats(struct evlist *evlist, bool alloc_raw)
|
||||
{
|
||||
struct evsel *evsel;
|
||||
|
||||
@@ -184,7 +184,7 @@ out_free:
|
||||
return -1;
|
||||
}
|
||||
|
||||
void perf_evlist__free_stats(struct perf_evlist *evlist)
|
||||
void perf_evlist__free_stats(struct evlist *evlist)
|
||||
{
|
||||
struct evsel *evsel;
|
||||
|
||||
@@ -195,7 +195,7 @@ void perf_evlist__free_stats(struct perf_evlist *evlist)
|
||||
}
|
||||
}
|
||||
|
||||
void perf_evlist__reset_stats(struct perf_evlist *evlist)
|
||||
void perf_evlist__reset_stats(struct evlist *evlist)
|
||||
{
|
||||
struct evsel *evsel;
|
||||
|
||||
@@ -490,7 +490,7 @@ int create_perf_stat_counter(struct evsel *evsel,
|
||||
|
||||
int perf_stat_synthesize_config(struct perf_stat_config *config,
|
||||
struct perf_tool *tool,
|
||||
struct perf_evlist *evlist,
|
||||
struct evlist *evlist,
|
||||
perf_event__handler_t process,
|
||||
bool attrs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user