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
@ -25,7 +25,7 @@ static void testcase(void)
|
||||
}
|
||||
}
|
||||
|
||||
static int count_samples(struct perf_evlist *evlist, int *sample_count,
|
||||
static int count_samples(struct evlist *evlist, int *sample_count,
|
||||
int *comm_count)
|
||||
{
|
||||
int i;
|
||||
@ -55,7 +55,7 @@ static int count_samples(struct perf_evlist *evlist, int *sample_count,
|
||||
return TEST_OK;
|
||||
}
|
||||
|
||||
static int do_test(struct perf_evlist *evlist, int mmap_pages,
|
||||
static int do_test(struct evlist *evlist, int mmap_pages,
|
||||
int *sample_count, int *comm_count)
|
||||
{
|
||||
int err;
|
||||
@ -82,7 +82,7 @@ int test__backward_ring_buffer(struct test *test __maybe_unused, int subtest __m
|
||||
{
|
||||
int ret = TEST_SKIP, err, sample_count = 0, comm_count = 0;
|
||||
char pid[16], sbuf[STRERR_BUFSIZE];
|
||||
struct perf_evlist *evlist;
|
||||
struct evlist *evlist;
|
||||
struct evsel *evsel __maybe_unused;
|
||||
struct parse_events_error parse_error;
|
||||
struct record_opts opts = {
|
||||
|
Reference in New Issue
Block a user