Package Base Details: bcc

Git Clone URL: (read-only)
Keywords: control eBPF kernel performance tracing
Submitter: troyengel
Maintainer: edh (eklausmeier)
Last Packager: edh
Votes: 27
Popularity: 0.507276
First Submitted: 2016-01-01 18:37
Last Updated: 2019-03-15 12:44

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

furcifer_oustale commented on 2018-06-29 12:16

Hi, i got the same error as @marak:

I cannot attach kprobes - neither with the ready made bcc tools nor with my own.

Code: Output:

edh commented on 2018-05-03 18:44

@marak The program mentioned in the log works fine for me.

marak commented on 2018-04-29 19:14

I'm getting "Bad file descriptor" when trying to run any of the scripts. Here's the error log from the tcplife:

enchantner commented on 2018-03-31 15:23

@edh I was hoping to actually trace some programs using BPF with this toolset, that's why I am curious about this one in particular. But maybe there are some other similar tools there that do work. I'll try and do some research, thanks a lot for looking into this!

edh commented on 2018-03-31 13:02

@enchantner Sorry, I can't reproduce your problem using linux 4.15.3-1, linux-hardened 4.15.10a-1 and linux-hardened 4.15.12a-1.

EDIT: I took a look at the ticket and ran the trace tool as described by you and it fails as well. The error message was the same. Hence some tools in specific are not working while others do.

enchantner commented on 2018-03-30 19:49

Doesn't work for me on latest kernel (4.15.13-1): . Fails to attach kprobes, even though all necessary kernel parameters are present. Is anyone experiencing the same?

furcifer_oustale commented on 2018-03-30 13:25


Just tested 0.5.0-3: Works fine, thanks!

Furcifer Oustaleti

edh commented on 2018-03-30 12:51

Thanks for all the feedback! I was testing some stuff out but @cippaciong already provided the right answer before I could. Luckily the patch is contained within a single commit (c0d1694e28) and can be easily backported. Can you give the latest version of this package a try. Compilation using clang/llvm version 6.0.0 is working fine on my machine.

furcifer_oustale commented on 2018-03-28 11:11

@cippaciong: Building the most recent Version (76bec4d5e94f56b42b6417f27b06f95773c8e283) of bcc from git works fine:

cippaciong commented on 2018-03-28 08:01

@furcifer_oustale: It's probably related to the recent upgrade of llvm to version 6.0 on arch. Can you try to build bcc cloning from git?