Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.10-rc6 30 lines 718 B view raw
1#ifndef PERF_TEST_LLVM_H 2#define PERF_TEST_LLVM_H 3 4#ifdef __cplusplus 5extern "C" { 6#endif 7 8#include <stddef.h> /* for size_t */ 9#include <stdbool.h> /* for bool */ 10 11extern const char test_llvm__bpf_base_prog[]; 12extern const char test_llvm__bpf_test_kbuild_prog[]; 13extern const char test_llvm__bpf_test_prologue_prog[]; 14extern const char test_llvm__bpf_test_relocation[]; 15 16enum test_llvm__testcase { 17 LLVM_TESTCASE_BASE, 18 LLVM_TESTCASE_KBUILD, 19 LLVM_TESTCASE_BPF_PROLOGUE, 20 LLVM_TESTCASE_BPF_RELOCATION, 21 __LLVM_TESTCASE_MAX, 22}; 23 24int test_llvm__fetch_bpf_obj(void **p_obj_buf, size_t *p_obj_buf_sz, 25 enum test_llvm__testcase index, bool force, 26 bool *should_load_fail); 27#ifdef __cplusplus 28} 29#endif 30#endif