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
@@ -449,7 +449,7 @@ static struct perf_diff pdiff = {
|
||||
};
|
||||
|
||||
static struct evsel *evsel_match(struct evsel *evsel,
|
||||
struct perf_evlist *evlist)
|
||||
struct evlist *evlist)
|
||||
{
|
||||
struct evsel *e;
|
||||
|
||||
@@ -461,7 +461,7 @@ static struct evsel *evsel_match(struct evsel *evsel,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void perf_evlist__collapse_resort(struct perf_evlist *evlist)
|
||||
static void perf_evlist__collapse_resort(struct evlist *evlist)
|
||||
{
|
||||
struct evsel *evsel;
|
||||
|
||||
@@ -1009,7 +1009,7 @@ static void data__fprintf(void)
|
||||
|
||||
static void data_process(void)
|
||||
{
|
||||
struct perf_evlist *evlist_base = data__files[0].session->evlist;
|
||||
struct evlist *evlist_base = data__files[0].session->evlist;
|
||||
struct evsel *evsel_base;
|
||||
bool first = true;
|
||||
|
||||
@@ -1019,7 +1019,7 @@ static void data_process(void)
|
||||
int i;
|
||||
|
||||
data__for_each_file_new(i, d) {
|
||||
struct perf_evlist *evlist = d->session->evlist;
|
||||
struct evlist *evlist = d->session->evlist;
|
||||
struct evsel *evsel;
|
||||
struct hists *hists;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user