tests.h (3237f28188c3e41a938781a369652772a23e97a9) tests.h (43f322b4ab3f203d8eefbdad6e58e1637221e4a7)
1#ifndef TESTS_H
2#define TESTS_H
3
4#define TEST_ASSERT_VAL(text, cond) \
5do { \
6 if (!(cond)) { \
7 pr_debug("FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
8 return -1; \

--- 12 unchanged lines hidden (view full) ---

21enum {
22 TEST_OK = 0,
23 TEST_FAIL = -1,
24 TEST_SKIP = -2,
25};
26
27/* Tests */
28int test__vmlinux_matches_kallsyms(void);
1#ifndef TESTS_H
2#define TESTS_H
3
4#define TEST_ASSERT_VAL(text, cond) \
5do { \
6 if (!(cond)) { \
7 pr_debug("FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
8 return -1; \

--- 12 unchanged lines hidden (view full) ---

21enum {
22 TEST_OK = 0,
23 TEST_FAIL = -1,
24 TEST_SKIP = -2,
25};
26
27/* Tests */
28int test__vmlinux_matches_kallsyms(void);
29int test__open_syscall_event(void);
30int test__open_syscall_event_on_all_cpus(void);
29int test__openat_syscall_event(void);
30int test__openat_syscall_event_on_all_cpus(void);
31int test__basic_mmap(void);
32int test__PERF_RECORD(void);
33int test__rdpmc(void);
34int test__perf_evsel__roundtrip_name_test(void);
35int test__perf_evsel__tp_sched_test(void);
31int test__basic_mmap(void);
32int test__PERF_RECORD(void);
33int test__rdpmc(void);
34int test__perf_evsel__roundtrip_name_test(void);
35int test__perf_evsel__tp_sched_test(void);
36int test__syscall_open_tp_fields(void);
36int test__syscall_openat_tp_fields(void);
37int test__pmu(void);
38int test__attr(void);
39int test__dso_data(void);
40int test__dso_data_cache(void);
41int test__dso_data_reopen(void);
42int test__parse_events(void);
43int test__hists_link(void);
44int test__python_use(void);

--- 29 unchanged lines hidden ---
37int test__pmu(void);
38int test__attr(void);
39int test__dso_data(void);
40int test__dso_data_cache(void);
41int test__dso_data_reopen(void);
42int test__parse_events(void);
43int test__hists_link(void);
44int test__python_use(void);

--- 29 unchanged lines hidden ---