tests.h 712 字节
Newer Older
1 2 3
#ifndef TESTS_H
#define TESTS_H

4 5 6 7 8 9
enum {
	TEST_OK   =  0,
	TEST_FAIL = -1,
	TEST_SKIP = -2,
};

10
/* Tests */
11
int test__vmlinux_matches_kallsyms(void);
12
int test__open_syscall_event(void);
13
int test__open_syscall_event_on_all_cpus(void);
14
int test__basic_mmap(void);
15
int test__PERF_RECORD(void);
16
int test__rdpmc(void);
17
int test__perf_evsel__roundtrip_name_test(void);
18
int test__perf_evsel__tp_sched_test(void);
19
int test__syscall_open_tp_fields(void);
20
int test__pmu(void);
21 22 23
int test__attr(void);
int test__dso_data(void);
int test__parse_events(void);
24
int test__hists_link(void);
25
int test__python_use(void);
26
int test__bp_signal(void);
27
int test__bp_signal_overflow(void);
28
int test__task_exit(void);
29

30
#endif /* TESTS_H */