libbpfgo
libbpfgo copied to clipboard
A good source of features: bpfcc/libbpf-tools
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.
I created a repo to do this work and so far 26/46 tools have been ported: https://github.com/mozillazg/libbpfgo-tools
@mozillazg do you have plans to bring your examples into libbpfgo? It would be fantastic.
@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.