Anybody else chuckling at the irony here that eBPF is inspired by dtrace which was invented by Cantrill?
If you want to do stuff like this, anything you use to do it will have to look a lot like eBPF. eBPF doesn't make it easy, it only makes it possible. But dtrace was not eBPF.