Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef PERF_TEST_LLVM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define PERF_TEST_LLVM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #ifdef __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) extern "C" {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <stddef.h> /* for size_t */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <stdbool.h> /* for bool */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) extern const char test_llvm__bpf_base_prog[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) extern const char test_llvm__bpf_test_kbuild_prog[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) extern const char test_llvm__bpf_test_prologue_prog[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) extern const char test_llvm__bpf_test_relocation[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) enum test_llvm__testcase {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	LLVM_TESTCASE_BASE,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	LLVM_TESTCASE_KBUILD,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	LLVM_TESTCASE_BPF_PROLOGUE,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	LLVM_TESTCASE_BPF_RELOCATION,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	__LLVM_TESTCASE_MAX,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) int test_llvm__fetch_bpf_obj(void **p_obj_buf, size_t *p_obj_buf_sz,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 			     enum test_llvm__testcase index, bool force,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 			     bool *should_load_fail);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #ifdef __cplusplus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #endif