mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
pkg/bpftrace: Disable the package
The compile fails with: [ 30%] Building CXX object src/ast/CMakeFiles/ast.dir/codegen_llvm.cpp.o [ 30%] Building CXX object src/ast/CMakeFiles/ast.dir/irbuilderbpf.cpp.o [ 31%] Building CXX object src/ast/CMakeFiles/ast.dir/printer.cpp.o [ 31%] Building CXX object src/ast/CMakeFiles/ast.dir/semantic_analyser.cpp.o /bpftrace/src/ast/irbuilderbpf.cpp: In member function 'llvm::CallInst* bpftrace::ast::IRBuilderBPF::CreateProbeReadStr(llvm::AllocaInst*, size_t, llvm::Value*)': /bpftrace/src/ast/irbuilderbpf.cpp:279:16: error: 'BPF_FUNC_probe_read_str' was not declared in this scope getInt64(BPF_FUNC_probe_read_str), ^~~~~~~~~~~~~~~~~~~~~~~ /bpftrace/src/ast/irbuilderbpf.cpp: In member function 'llvm::CallInst* bpftrace::ast::IRBuilderBPF::CreateProbeReadStr(llvm::Value*, size_t, llvm::Value*)': /bpftrace/src/ast/irbuilderbpf.cpp:294:16: error: 'BPF_FUNC_probe_read_str' was not declared in this scope getInt64(BPF_FUNC_probe_read_str), ^~~~~~~~~~~~~~~~~~~~~~~ /bpftrace/src/ast/irbuilderbpf.cpp: In member function 'llvm::CallInst* bpftrace::ast::IRBuilderBPF::CreateGetCurrentCgroupId()': /bpftrace/src/ast/irbuilderbpf.cpp:422:16: error: 'BPF_FUNC_get_current_cgroup_id' was not declared in this scope getInt64(BPF_FUNC_get_current_cgroup_id), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bpftrace/src/ast/irbuilderbpf.cpp: In member function 'llvm::CallInst* bpftrace::ast::IRBuilderBPF::CreateGetCurrentTask()': /bpftrace/src/ast/irbuilderbpf.cpp:461:16: error: 'BPF_FUNC_get_current_task' was not declared in this scope getInt64(BPF_FUNC_get_current_task), ^~~~~~~~~~~~~~~~~~~~~~~~~ /bpftrace/src/ast/irbuilderbpf.cpp: In member function 'llvm::CallInst* bpftrace::ast::IRBuilderBPF::CreateGetStackId(llvm::Value*, bool)': /bpftrace/src/ast/irbuilderbpf.cpp:497:16: error: 'BPF_FUNC_get_stackid' was not declared in this scope getInt64(BPF_FUNC_get_stackid), ^~~~~~~~~~~~~~~~~~~~ /bpftrace/src/ast/semantic_analyser.cpp: In member function 'int bpftrace::ast::SemanticAnalyser::create_maps(bool)': /bpftrace/src/ast/semantic_analyser.cpp:871:68: error: 'BPF_MAP_TYPE_STACK_TRACE' was not declared in this scope bpftrace_.stackid_map_ = std::make_unique<bpftrace::FakeMap>(BPF_MAP_TYPE_STACK_TRACE); ^~~~~~~~~~~~~~~~~~~~~~~~ /bpftrace/src/ast/semantic_analyser.cpp:885:64: error: 'BPF_MAP_TYPE_STACK_TRACE' was not declared in this scope bpftrace_.stackid_map_ = std::make_unique<bpftrace::Map>(BPF_MAP_TYPE_STACK_TRACE); ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [src/ast/CMakeFiles/ast.dir/build.make:89: src/ast/CMakeFiles/ast.dir/irbuilderbpf.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [src/ast/CMakeFiles/ast.dir/build.make:115: src/ast/CMakeFiles/ast.dir/semantic_analyser.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:276: src/ast/CMakeFiles/ast.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
82d6f949c7
commit
14039d0597
@ -1,4 +1,4 @@
|
||||
image: bpftrace
|
||||
network: true
|
||||
arches:
|
||||
- amd64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user