aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/builtin-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/builtin-test.c')
-rw-r--r--tools/perf/tests/builtin-test.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index 35b45f1466b5..1e67437fb4ca 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -93,6 +93,28 @@ static struct test {
93 .desc = "Test software clock events have valid period values", 93 .desc = "Test software clock events have valid period values",
94 .func = test__sw_clock_freq, 94 .func = test__sw_clock_freq,
95 }, 95 },
96#if defined(__x86_64__) || defined(__i386__)
97 {
98 .desc = "Test converting perf time to TSC",
99 .func = test__perf_time_to_tsc,
100 },
101#endif
102 {
103 .desc = "Test object code reading",
104 .func = test__code_reading,
105 },
106 {
107 .desc = "Test sample parsing",
108 .func = test__sample_parsing,
109 },
110 {
111 .desc = "Test using a dummy software event to keep tracking",
112 .func = test__keep_tracking,
113 },
114 {
115 .desc = "Test parsing with no sample_id_all bit set",
116 .func = test__parse_no_sample_id_all,
117 },
96 { 118 {
97 .func = NULL, 119 .func = NULL,
98 }, 120 },