Merge tag 'sound-3.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[deliverable/linux.git] / tools / perf / tests / tests.h
CommitLineData
0a4e1ae6
JO
1#ifndef TESTS_H
2#define TESTS_H
3
450ac18d
JO
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; \
9 } \
10} while (0)
11
f4c1ea5f
JO
12enum {
13 TEST_OK = 0,
14 TEST_FAIL = -1,
15 TEST_SKIP = -2,
16};
17
d3b59a38 18/* Tests */
0a4e1ae6 19int test__vmlinux_matches_kallsyms(void);
d3b59a38 20int test__open_syscall_event(void);
bd90517b 21int test__open_syscall_event_on_all_cpus(void);
a65b9c62 22int test__basic_mmap(void);
16d00fee 23int test__PERF_RECORD(void);
bacf7e5d 24int test__rdpmc(void);
cfffae2e 25int test__perf_evsel__roundtrip_name_test(void);
5e24a090 26int test__perf_evsel__tp_sched_test(void);
dc447eed 27int test__syscall_open_tp_fields(void);
cff7f956 28int test__pmu(void);
c81251e8
JO
29int test__attr(void);
30int test__dso_data(void);
4ebbcb84 31int test__dso_data_cache(void);
45dc1bb5 32int test__dso_data_reopen(void);
c81251e8 33int test__parse_events(void);
f8ebb0cd 34int test__hists_link(void);
54359d33 35int test__python_use(void);
5a6bef47 36int test__bp_signal(void);
06933e3a 37int test__bp_signal_overflow(void);
d723a550 38int test__task_exit(void);
bc96b361 39int test__sw_clock_freq(void);
3bd5a5fc 40int test__perf_time_to_tsc(void);
b55ae0a9 41int test__code_reading(void);
045f8cd8 42int test__sample_parsing(void);
395c3070 43int test__keep_tracking(void);
53a277e5 44int test__parse_no_sample_id_all(void);
aa16b81f 45int test__dwarf_unwind(void);
3c3cfd99 46int test__hists_filter(void);
4e85edfc 47int test__mmap_thread_lookup(void);
fabf0123 48int test__thread_mg_share(void);
f21d1815 49int test__hists_output(void);
0506aecc 50int test__hists_cumulate(void);
d3b59a38 51
90fa9deb 52#if defined(__x86_64__) || defined(__i386__) || defined(__arm__)
9ff125d1 53#ifdef HAVE_DWARF_UNWIND_SUPPORT
aa16b81f
JO
54struct thread;
55struct perf_sample;
56int test__arch_unwind_sample(struct perf_sample *sample,
57 struct thread *thread);
58#endif
59#endif
0a4e1ae6 60#endif /* TESTS_H */
This page took 0.074165 seconds and 5 git commands to generate.