tests.h (df15929f8f5c69e987c31bf016eca4a38dba46f0) tests.h (ff3e33b075fe45c669e2cb27489d570e29d3abeb)
1#ifndef TESTS_H
2#define TESTS_H
3
4#include <stdbool.h>
5
6#define TEST_ASSERT_VAL(text, cond) \
7do { \
8 if (!(cond)) { \

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

85int test__synthesize_stat(int subtest);
86int test__synthesize_stat_round(int subtest);
87int test__event_update(int subtest);
88int test__event_times(int subtest);
89int test__backward_ring_buffer(int subtest);
90int test__cpu_map_print(int subtest);
91int test__sdt_event(int subtest);
92int test__is_printable_array(int subtest);
1#ifndef TESTS_H
2#define TESTS_H
3
4#include <stdbool.h>
5
6#define TEST_ASSERT_VAL(text, cond) \
7do { \
8 if (!(cond)) { \

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

85int test__synthesize_stat(int subtest);
86int test__synthesize_stat_round(int subtest);
87int test__event_update(int subtest);
88int test__event_times(int subtest);
89int test__backward_ring_buffer(int subtest);
90int test__cpu_map_print(int subtest);
91int test__sdt_event(int subtest);
92int test__is_printable_array(int subtest);
93int test__bitmap_print(int subtest);
93
94#if defined(__arm__) || defined(__aarch64__)
95#ifdef HAVE_DWARF_UNWIND_SUPPORT
96struct thread;
97struct perf_sample;
98int test__arch_unwind_sample(struct perf_sample *sample,
99 struct thread *thread);
100#endif
101#endif
102#endif /* TESTS_H */
94
95#if defined(__arm__) || defined(__aarch64__)
96#ifdef HAVE_DWARF_UNWIND_SUPPORT
97struct thread;
98struct perf_sample;
99int test__arch_unwind_sample(struct perf_sample *sample,
100 struct thread *thread);
101#endif
102#endif
103#endif /* TESTS_H */