blob: 05d0e58064a345bb35c07f01e43addef03c9a9c9 [file] [log] [blame]
Jiri Olsa0a4e1ae2012-11-10 01:46:41 +01001#ifndef TESTS_H
2#define TESTS_H
3
Jiri Olsaf4c1ea52012-12-19 11:33:39 -03004enum {
5 TEST_OK = 0,
6 TEST_FAIL = -1,
7 TEST_SKIP = -2,
8};
9
Jiri Olsad3b59a32012-11-10 01:46:42 +010010/* Tests */
Jiri Olsa0a4e1ae2012-11-10 01:46:41 +010011int test__vmlinux_matches_kallsyms(void);
Jiri Olsad3b59a32012-11-10 01:46:42 +010012int test__open_syscall_event(void);
Jiri Olsabd905172012-11-10 01:46:43 +010013int test__open_syscall_event_on_all_cpus(void);
Jiri Olsaa65b9c62012-11-10 01:46:44 +010014int test__basic_mmap(void);
Jiri Olsa16d00fe2012-11-10 01:46:45 +010015int test__PERF_RECORD(void);
Jiri Olsabacf7e52012-11-10 01:46:46 +010016int test__rdpmc(void);
Jiri Olsacfffae22012-11-10 01:46:47 +010017int test__perf_evsel__roundtrip_name_test(void);
Jiri Olsa5e24a092012-11-10 01:46:48 +010018int test__perf_evsel__tp_sched_test(void);
Jiri Olsadc447ee2012-11-10 01:46:49 +010019int test__syscall_open_tp_fields(void);
Jiri Olsacff7f952012-11-10 01:46:50 +010020int test__pmu(void);
Jiri Olsac81251e2012-11-10 01:46:51 +010021int test__attr(void);
22int test__dso_data(void);
23int test__parse_events(void);
Namhyung Kimf8ebb0c2012-12-10 17:29:57 +090024int test__hists_link(void);
Arnaldo Carvalho de Melo54359d32012-12-14 13:06:13 -030025int test__python_use(void);
Jiri Olsa5a6bef42013-03-10 19:41:10 +010026int test__bp_signal(void);
Jiri Olsad3b59a32012-11-10 01:46:42 +010027
Jiri Olsa0a4e1ae2012-11-10 01:46:41 +010028#endif /* TESTS_H */