Package Details: bpftrace 0.10.0-1

Git Clone URL: https://aur.archlinux.org/bpftrace.git (read-only, click to copy)
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: 12
Popularity: 1.43
First Submitted: 2019-01-12 14:44
Last Updated: 2020-04-14 21:07

Latest Comments

1 2 Next › Last »

shuveb commented on 2020-05-05 10:16

While clang package has been updated, this has stagnated with a dependency on an older clang .so library.

➜ ~ bpftrace
bpftrace: error while loading shared libraries: libclang.so.9: cannot open shared object file: No such file or directory

This package needs a build to link against the right clang dependencies.

attenuation commented on 2020-04-16 02:12

man page file confilicting with bcc-tools-git

error: failed to commit transaction (conflicting files)
bpftrace: /usr/share/man/man8/bashreadline.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/biolatency.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/biosnoop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/bitesize.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/capable.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/dcsnoop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/execsnoop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/gethostlatency.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/killsnoop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/mdflush.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/oomkill.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/opensnoop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/pidpersec.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/runqlat.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/runqlen.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/statsnoop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/syncsnoop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/syscount.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/tcpaccept.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/tcpconnect.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/tcpdrop.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/tcplife.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/tcpretrans.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/vfscount.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/vfsstat.8.gz exists in filesystem (owned by bcc-tools-git)
bpftrace: /usr/share/man/man8/xfsdist.8.gz exists in filesystem (owned by bcc-tools-git)
Errors occurred, no packages were upgraded.

Maybe we can add this line to PKGBUILD

  find ${pkgdir}/usr/share/man/man8 -name '*.8.gz' | awk -F '.' '{printf("mv %s.8.gz %s-bpftrace.8.gz\n",$1,$1)}' | sh

cippaciong commented on 2020-02-29 21:30

@Xinkai: flex is part of the base-devel group which is a prerequisite to install packages from AUR

Xinkai commented on 2020-02-29 21:25

Should have "flex" as one of makedepends

bartus commented on 2020-01-12 20:07

/usr/bin/bpftrace is missing shared object /usr/lib/libbcc.so 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 https://www.bestessaytips.com/coursework.php 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). https://github.com/iovisor/bpftrace/releases/tag/v0.9.1

russkel commented on 2019-06-23 10:28

This doesn't compile on my machine: https://gist.github.com/russkel/6d67c85c7cd2efa32ffb2f8c34ce17bb

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.