tests.h (c489573b5b6ce6442ad4658d9d5ec77839b91622) tests.h (3989bbf9607d6716900d9df91c46a2ce8a504b93)
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 { \

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

119int test__api_io(struct test *test, int subtest);
120int test__demangle_java(struct test *test, int subtest);
121int test__pfm(struct test *test, int subtest);
122const char *test__pfm_subtest_get_desc(int subtest);
123int test__pfm_subtest_get_nr(void);
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);
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 { \

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

119int test__api_io(struct test *test, int subtest);
120int test__demangle_java(struct test *test, int subtest);
121int test__pfm(struct test *test, int subtest);
122const char *test__pfm_subtest_get_desc(int subtest);
123int test__pfm_subtest_get_nr(void);
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);
127
128bool test__bp_signal_is_supported(void);
129bool test__bp_account_is_supported(void);
130bool test__wp_is_supported(void);
131
132#if defined(__arm__) || defined(__aarch64__)
133#ifdef HAVE_DWARF_UNWIND_SUPPORT
134struct thread;
135struct perf_sample;
136int test__arch_unwind_sample(struct perf_sample *sample,
137 struct thread *thread);
138#endif
139#endif
140
141#if defined(__arm__)
142int test__vectors_page(struct test *test, int subtest);
143#endif
144
145#endif /* TESTS_H */
128
129bool test__bp_signal_is_supported(void);
130bool test__bp_account_is_supported(void);
131bool test__wp_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 */