libbpfgo icon indicating copy to clipboard operation
libbpfgo copied to clipboard

A good source of features: bpfcc/libbpf-tools

Open rafaeldtinoco opened this issue 2 years ago • 3 comments

All tools from bpfcc/libbpf-tools project should be portable to libbpfgo if libbpfgo supported all features present in libbpf.

This can be a good source of supportability, tests and tools.

Initial suggestion is to bring:

  • bindsnoop
  • biolatency
  • biopattern

and then move on with the list.

We can sync .bpf.c portion of it from bpfcc/libbpf-tools project and keep userland in go.

rafaeldtinoco avatar Jul 26 '21 12:07 rafaeldtinoco

I created a repo to do this work and so far 26/46 tools have been ported: https://github.com/mozillazg/libbpfgo-tools

mozillazg avatar Nov 06 '22 11:11 mozillazg

@mozillazg do you have plans to bring your examples into libbpfgo? It would be fantastic.

geyslan avatar Aug 29 '23 13:08 geyslan

@geyslan Sorry, I'm really too busy this year to get this done. But I have no objections regarding this matter, you can proceed with it freely.

mozillazg avatar Aug 29 '23 15:08 mozillazg