eunomia-bpf / bpftime

Userspace eBPF runtime for Observability, Network & General Extensions Framework
https://eunomia.dev/bpftime/
MIT License
763 stars 73 forks source link

example: add mountsnoop from libbpf-tools #110

Closed Officeyutong closed 9 months ago

Officeyutong commented 9 months ago

This PR adds an example mountsnoop. It utilizes syscall tracepoint to trace call to mount/umount2, and prints the details in userspace program