2012-11-10 08:46:41 +08:00
|
|
|
#ifndef TESTS_H
|
|
|
|
#define TESTS_H
|
|
|
|
|
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-11-10 08:46:42 +08:00
|
|
|
|
|
|
|
/* Util */
|
|
|
|
int trace_event__id(const char *evname);
|
2012-11-10 08:46:41 +08:00
|
|
|
|
|
|
|
#endif /* TESTS_H */
|