Comments (6)
Commit got merged in for-next (bpf-next):
commit 467b3225553a (HEAD -> rafaeldtinoco, origin/master, origin/for-next, origin/HEAD)
Author: Rafael David Tinoco <[email protected]>
Date: Sun Sep 12 03:48:44 2021
libbpf: Introduce legacy kprobe events support
Allow kprobe tracepoint events creation through legacy interface, as the
kprobe dynamic PMUs support, used by default, was only created in v4.17.
Store legacy kprobe name in struct bpf_perf_link, instead of creating
a new "subclass" off of bpf_perf_link. This is ok as it's just two new
fields, which are also going to be reused for legacy uprobe support in
follow up patches.
Signed-off-by: Rafael David Tinoco <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
It will get into bpf-next and, eventually, into libbpf (github). We will be able to get rid of legacy kprobe functions.
from libbpfgo.
I think we should wait with that until libbpf 0.6.0 (which should include the patch) will be out
from libbpfgo.
Latest proposal at LORE thread.
from libbpfgo.
Latest proposal at:
https://lore.kernel.org/bpf/[email protected]/
already to be applied on top of the:
[PATCH v3 bpf-next 00/14] BPF perf link and user-provided bpf_cookie
patch set from Andrii. It will need to wait until that patch set is merged. It correctly replaces libbpfgo legacy kprobe implementation embedded at libbpfgo.go source code (for current libbpf upstream branch).
from libbpfgo.
Alright, the legacy kprobe logic just got merged into libbpf:
and into bpf-next tree. Andrii has already refactored it to support legacy uprobes as well as some fixes.
We're ready for the legacy kprobe specific functions removal in libbpfgo.
from libbpfgo.
@rafaeldtinoco I think we can now remove those functions, can't we?
from libbpfgo.
Related Issues (20)
- NewModuleFromBufferArgs should not specify BTF if there isn't one
- Split BPFMap API into managed and unmanaged
- Split bpf module, progs, maps into own files
- Wrap C struct field handling
- Split bpf module and program into own files
- LinkType enum needs to align libbpf values
- attach xdp error
- Check type cast results
- [Error] in running go user space code HOT 1
- OSInfo singleton HOT 3
- LIBBPF_MAJOR_VERSION missing HOT 2
- Compiling a user space application that uses libbpfgo as dependency fails HOT 1
- Error compiling go programme HOT 2
- Incorrect parsing of IoUringRequestFlag
- Incompatability between libbpf and libbpfgo HOT 8
- TcHook.Detach() always raises the `failed to detach tc hook: invalid argument` error. HOT 7
- TcHook.Query() always raises the `failed to query tc hook: invalid argument` error. HOT 3
- cookie support HOT 2
- Some tests fail on ARM64 HOT 1
- can show an interaction example between ebpf c and golang that uses ring buffer? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libbpfgo.