Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
1–10 of 13 posts
Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#2Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#3Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#4With eBPF the common gotcha is you can compile totally invalid eBPF code, with no compile errors, only to find out at go time (and only to be able to find out at go time).
Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#5Sounds a lot like DTrace user defined probe tracing.
How important is enabled probe effect? Of that I’m less sure.
Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#6This looks really cool. Like all eBPF though, what sort of eBPF verification is it doing and is it possible to do the verification in CI? With eBPF the common gotcha is you can compile totally invalid eBPF code, with no compile errors, only to find out at go time (and only to be able to find out at go time).
This project can use a standalone eBPF verifier in this project: https://github.com/vbpf/ebpf-verifier
It can also use kernel verifier to verify the programs, then “offload”the BPF byte code from kernel, and runs it in userspace.
Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#7Stream: https://youtube.com/watch?v=zDNZY0HQOMw&t=1765s
The draft paper: https://arxiv.org/abs/2311.07923
Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#8This looks really cool. Like all eBPF though, what sort of eBPF verification is it doing and is it possible to do the verification in CI? With eBPF the common gotcha is you can compile totally invalid eBPF code, with no compile errors, only to find out at go time (and only to be able to find out at go time).
[1] https://github.com/parca-dev/parca-agent
[2] https://github.com/parca-dev/parca-agent/blob/54434c02773a8a...
Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#9We talked about it in LPC 23 today, and the slides: https://lpc.events/event/17/contributions/1639 Stream: https://youtube.com/watch?v=zDNZY0HQOMw&t=1765s The draft paper: https://arxiv.org/abs/2311.07923
[0] https://twitter.com/yunwei37/status/1717990094810862045
[1] https://github.com/eunomia-bpf/bpftime/blob/master/example/b...
[2] https://opsindev.news/archive/2023-11-14/#the-inner-dev-lear...
Re: Bpftime: Userspace eBPF runtime for fast Uprobe and Syscall hook and Plugins
#10Sounds a lot like DTrace user defined probe tracing.
Uprobes has—I believe—DTrace USDT-like functionality. This seems interesting and different: sending the tracing facility into the traced/victim process. Whereas DTrace and ePBF typically trap into the kernel to execute and event, this approach allows for potentially much less overhead. How important is enabled probe effect? Of that I’m less sure.