tests.h (e23c34bb41da65f354fb7eee04300c56ee48f60c) tests.h (aa16b81fe916378ef6474530c59f719c36cd6ec4)
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; \

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

35int test__bp_signal_overflow(void);
36int test__task_exit(void);
37int test__sw_clock_freq(void);
38int test__perf_time_to_tsc(void);
39int test__code_reading(void);
40int test__sample_parsing(void);
41int test__keep_tracking(void);
42int test__parse_no_sample_id_all(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; \

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

35int test__bp_signal_overflow(void);
36int test__task_exit(void);
37int test__sw_clock_freq(void);
38int test__perf_time_to_tsc(void);
39int test__code_reading(void);
40int test__sample_parsing(void);
41int test__keep_tracking(void);
42int test__parse_no_sample_id_all(void);
43int test__dwarf_unwind(void);
43
44
45#if defined(__x86_64__) || defined(__i386__)
46#ifdef HAVE_LIBUNWIND_SUPPORT
47struct thread;
48struct perf_sample;
49int test__arch_unwind_sample(struct perf_sample *sample,
50 struct thread *thread);
51#endif
52#endif
44#endif /* TESTS_H */
53#endif /* TESTS_H */