diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-26 18:02:31 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-26 18:39:11 -0400 |
commit | 69d81f09e1607b577346c0579bf938c1194bff3a (patch) | |
tree | 9bac5bd977e2c0ae2e636c183e67450924c1c6de /tools/perf/tests | |
parent | b1fcd190bb3fc1234dca60390d171a4cc75b21b2 (diff) |
libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix
Even more, to have a "perf_record_" prefix, so that they match the
PERF_RECORD_ enum they map to.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-qbabmcz2a0pkzt72liyuz3p8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
-rw-r--r-- | tools/perf/tests/parse-no-sample-id-all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/parse-no-sample-id-all.c b/tools/perf/tests/parse-no-sample-id-all.c index 396e40d68922..8284752a60c8 100644 --- a/tools/perf/tests/parse-no-sample-id-all.c +++ b/tools/perf/tests/parse-no-sample-id-all.c | |||
@@ -87,10 +87,10 @@ int test__parse_no_sample_id_all(struct test *test __maybe_unused, int subtest _ | |||
87 | }, | 87 | }, |
88 | .id = 2, | 88 | .id = 2, |
89 | }; | 89 | }; |
90 | struct mmap_event event3 = { | 90 | struct perf_record_mmap event3 = { |
91 | .header = { | 91 | .header = { |
92 | .type = PERF_RECORD_MMAP, | 92 | .type = PERF_RECORD_MMAP, |
93 | .size = sizeof(struct mmap_event), | 93 | .size = sizeof(struct perf_record_mmap), |
94 | }, | 94 | }, |
95 | }; | 95 | }; |
96 | union perf_event *events[] = { | 96 | union perf_event *events[] = { |