iovisor / iovisor/gobpf

Q: Is there a gobpf version that works with bcc as distributed in Linux distributions?

Open
#201 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
2.2k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

First of all: thanks for creating gobpf!

Problem:
The current version of gobpf only seems to work with upstream versions of bcc. This somehow complicates the installation instructions for tools like my socket-connect-bpf project.

Does anybody know if there is a gobpf version that works with bcc as distributed in Linux distributions (e.g. bpfcc-tools on Ubuntu 19.04)?

I think one of the main problems is that bcc/bpf_common.h was renamed to bcc/bcc_common.h. Does anybody know if Ubuntu 19.10 will contain a version of bcc with the renamed files?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing gobpf's bcc integration with the distribution package used by socket-connect-bpf, focusing on the referenced bcc/bpf_common.h and bcc/bcc_common.h names. Check the bcc versions available in Ubuntu 19.04 and the expected Ubuntu 19.10 version; done means identifying a supported gobpf/bcc combination or documenting that none is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.