]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/perf/tests/llvm.h
drivers: usb: removed assignment of 0 to static variables
[karo-tx-linux.git] / tools / perf / tests / llvm.h
1 #ifndef PERF_TEST_LLVM_H
2 #define PERF_TEST_LLVM_H
3
4 #include <stddef.h> /* for size_t */
5 #include <stdbool.h> /* for bool */
6
7 extern const char test_llvm__bpf_base_prog[];
8 extern const char test_llvm__bpf_test_kbuild_prog[];
9 extern const char test_llvm__bpf_test_prologue_prog[];
10
11 enum test_llvm__testcase {
12         LLVM_TESTCASE_BASE,
13         LLVM_TESTCASE_KBUILD,
14         LLVM_TESTCASE_BPF_PROLOGUE,
15         __LLVM_TESTCASE_MAX,
16 };
17
18 int test_llvm__fetch_bpf_obj(void **p_obj_buf, size_t *p_obj_buf_sz,
19                              enum test_llvm__testcase index, bool force);
20 #endif