Package Details: bcc 0.6.1-1

Git Clone URL: https://aur.archlinux.org/bcc.git (read-only)
Package Base: bcc
Description: BPF Compiler Collection - C library and examples
Upstream URL: https://github.com/iovisor/bcc
Keywords: control eBPF kernel performance tracing
Licenses: Apache
Provides: bcc, libbcc
Submitter: troyengel
Maintainer: edh (eklausmeier)
Last Packager: edh
Votes: 25
Popularity: 0.343899
First Submitted: 2016-01-01 18:37
Last Updated: 2018-07-24 07:05

Latest Comments

1 2 3 4 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: https://pastebin.com/eEgGeGJh Output: https://pastebin.com/Ni1cTALj

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: http://ix.io/193v

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): https://github.com/iovisor/bcc/issues/1634 . 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

Hi,

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: https://pastebin.com/n04BFrcW

cippaciong commented on 2018-03-28 08:01

@furcifer_oustale: https://github.com/iovisor/bcc/issues/1513 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?