2012-11-10 08:46:41 +08:00
|
|
|
#ifndef TESTS_H
|
|
|
|
#define TESTS_H
|
|
|
|
|
2012-12-19 22:33:39 +08:00
|
|
|
enum {
|
|
|
|
TEST_OK = 0,
|
|
|
|
TEST_FAIL = -1,
|
|
|
|
TEST_SKIP = -2,
|
|
|
|
};
|
|
|
|
|
2012-11-10 08:46:42 +08:00
|
|
|
/* Tests */
|
2012-11-10 08:46:41 +08:00
|
|
|
int test__vmlinux_matches_kallsyms(void);
|
2012-11-10 08:46:42 +08:00
|
|
|
int test__open_syscall_event(void);
|
2012-11-10 08:46:43 +08:00
|
|
|
int test__open_syscall_event_on_all_cpus(void);
|
2012-11-10 08:46:44 +08:00
|
|
|
int test__basic_mmap(void);
|
2012-11-10 08:46:45 +08:00
|
|
|
int test__PERF_RECORD(void);
|
2012-11-10 08:46:46 +08:00
|
|
|
int test__rdpmc(void);
|
2012-11-10 08:46:47 +08:00
|
|
|
int test__perf_evsel__roundtrip_name_test(void);
|
2012-11-10 08:46:48 +08:00
|
|
|
int test__perf_evsel__tp_sched_test(void);
|
2012-11-10 08:46:49 +08:00
|
|
|
int test__syscall_open_tp_fields(void);
|
2012-11-10 08:46:50 +08:00
|
|
|
int test__pmu(void);
|
2012-11-10 08:46:51 +08:00
|
|
|
int test__attr(void);
|
|
|
|
int test__dso_data(void);
|
|
|
|
int test__parse_events(void);
|
2012-12-10 16:29:57 +08:00
|
|
|
int test__hists_link(void);
|
2012-12-15 00:06:13 +08:00
|
|
|
int test__python_use(void);
|
2013-03-11 02:41:10 +08:00
|
|
|
int test__bp_signal(void);
|
2013-03-11 02:41:11 +08:00
|
|
|
int test__bp_signal_overflow(void);
|
2013-03-15 13:58:11 +08:00
|
|
|
int test__task_exit(void);
|
2013-03-18 10:41:47 +08:00
|
|
|
int test__sw_clock_freq(void);
|
2012-11-10 08:46:42 +08:00
|
|
|
|
2012-11-10 08:46:41 +08:00
|
|
|
#endif /* TESTS_H */
|