tests.h (3989bbf9607d6716900d9df91c46a2ce8a504b93) | tests.h (248dd9b591db5bc5fb46a0e015753cfcfe60a345) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef TESTS_H 3#define TESTS_H 4 5#include <stdbool.h> 6 7#define TEST_ASSERT_VAL(text, cond) \ 8do { \ --- 115 unchanged lines hidden (view full) --- 124int test__parse_metric(struct test *test, int subtest); 125int test__pe_file_parsing(struct test *test, int subtest); 126int test__expand_cgroup_events(struct test *test, int subtest); 127int test__perf_time_to_tsc(struct test *test, int subtest); 128 129bool test__bp_signal_is_supported(void); 130bool test__bp_account_is_supported(void); 131bool test__wp_is_supported(void); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef TESTS_H 3#define TESTS_H 4 5#include <stdbool.h> 6 7#define TEST_ASSERT_VAL(text, cond) \ 8do { \ --- 115 unchanged lines hidden (view full) --- 124int test__parse_metric(struct test *test, int subtest); 125int test__pe_file_parsing(struct test *test, int subtest); 126int test__expand_cgroup_events(struct test *test, int subtest); 127int test__perf_time_to_tsc(struct test *test, int subtest); 128 129bool test__bp_signal_is_supported(void); 130bool test__bp_account_is_supported(void); 131bool test__wp_is_supported(void); |
132bool test__tsc_is_supported(void); |
|
132 133#if defined(__arm__) || defined(__aarch64__) 134#ifdef HAVE_DWARF_UNWIND_SUPPORT 135struct thread; 136struct perf_sample; 137int test__arch_unwind_sample(struct perf_sample *sample, 138 struct thread *thread); 139#endif 140#endif 141 142#if defined(__arm__) 143int test__vectors_page(struct test *test, int subtest); 144#endif 145 146#endif /* TESTS_H */ | 133 134#if defined(__arm__) || defined(__aarch64__) 135#ifdef HAVE_DWARF_UNWIND_SUPPORT 136struct thread; 137struct perf_sample; 138int test__arch_unwind_sample(struct perf_sample *sample, 139 struct thread *thread); 140#endif 141#endif 142 143#if defined(__arm__) 144int test__vectors_page(struct test *test, int subtest); 145#endif 146 147#endif /* TESTS_H */ |