aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-26 18:02:31 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-26 18:39:11 -0400
commit69d81f09e1607b577346c0579bf938c1194bff3a (patch)
tree9bac5bd977e2c0ae2e636c183e67450924c1c6de /tools/perf/tests
parentb1fcd190bb3fc1234dca60390d171a4cc75b21b2 (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.c4
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[] = {