Package Details: bpftrace 0.9.3-3

Git Clone URL: (read-only, click to copy)
Package Base: bpftrace
Description: High-level tracing language for Linux eBPF
Upstream URL:
Licenses: Apache
Conflicts: bpftrace-git
Provides: bpftrace
Submitter: cippaciong
Maintainer: cippaciong
Last Packager: cippaciong
Votes: 9
Popularity: 4.36
First Submitted: 2019-01-12 14:44
Last Updated: 2020-01-13 20:15

Latest Comments

bartus commented on 2020-01-12 20:07

/usr/bin/bpftrace is missing shared object /usr/lib/ provided by bcc pacakge from AUR.

You should move bcc from makedepends to depends

5long commented on 2019-11-29 17:07

When building this package in a clean chroot environment (specifically, running aur sync -c provided by aur/aurutils), I got this error message:

CMake Error at /usr/share/cmake-3.16/Modules/ExternalProject.cmake:2421 (message):
  error: could not find git for clone of gtest-git
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/ExternalProject.cmake:3236 (_ep_add_download_command)
  tests/CMakeLists.txt:103 (ExternalProject_Add)

-- Configuring incomplete, errors occurred!

I guess git should be added to the makedepends array?

Stephen376 commented on 2019-09-16 15:28

Linux working is tough and tactical skills required to handle all of the working. I am using for work of Linux because it works well for me.

cippaciong commented on 2019-06-26 08:23

@russkel: yeah, 0.9 does not compile with the LLVM version that is currently available in arch official repos. You could downgrade LLVM/Clang or rather install version 0.9.1 that has been tagged yesterday as pre-release and should compile just fine (just tried on my machine and it worked).

russkel commented on 2019-06-23 10:28

This doesn't compile on my machine:

Jonhoo commented on 2019-06-03 12:55

This package now needs bpf (from community) in its depends (or maybe makedepends?), since it has been split out from the bcc package since 0.9.

cippaciong commented on 2019-02-25 08:41

@Jonhoo: looks like an upstream issue

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
/home/jon/.cache/aurman/bpftrace/src/bpftrace-0.8/src/ast/irbuilderbpf.cpp:427:16: note: suggested alternative: ‘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 :)