Package Details: bpftrace 0.9-1

Git Clone URL: https://aur.archlinux.org/bpftrace.git (read-only)
Package Base: bpftrace
Description: High-level tracing language for Linux eBPF
Upstream URL: https://github.com/iovisor/bpftrace
Licenses: Apache
Conflicts: bpftrace-git
Provides: bpftrace
Submitter: cippaciong
Maintainer: cippaciong
Last Packager: cippaciong
Votes: 0
Popularity: 0.000000
First Submitted: 2019-01-12 14:44
Last Updated: 2019-03-16 13:43

Latest Comments

cippaciong commented on 2019-02-25 08:41

@Jonhoo: looks like an upstream issue https://github.com/iovisor/bpftrace/issues/377

Jonhoo commented on 2019-02-19 01:46

Hmm, even with that, this currently fails to compile with:

/home/jon/.cache/aurman/bpftrace/src/bpftrace-0.8/src/ast/irbuilderbpf.cpp: In member function ‘llvm::CallInst* bpftrace::ast::IRBuilderBPF::CreateGetCurrentCgroupId()’:
/home/jon/.cache/aurman/bpftrace/src/bpftrace-0.8/src/ast/irbuilderbpf.cpp:427:16: error: ‘BPF_FUNC_get_current_cgroup_id’ was not declared in this scope
       getInt64(BPF_FUNC_get_current_cgroup_id),
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jon/.cache/aurman/bpftrace/src/bpftrace-0.8/src/ast/irbuilderbpf.cpp:427:16: note: suggested alternative: ‘BPF_FUNC_get_current_comm’
       getInt64(BPF_FUNC_get_current_cgroup_id),
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                BPF_FUNC_get_current_comm
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[1]: *** [CMakeFiles/Makefile2:345: src/ast/CMakeFiles/ast.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Jonhoo commented on 2019-02-19 01:32

This also needs bcc in makedepends I think :)