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