On Thu, Sep 5, 2024 at 10:04 PM Viktor Malik <vmalik@xxxxxxxxxx> wrote: > > > > > +1 to adding multi-attach fentry, even if it will have to duplicate trampolines > > That would resolve fentry but the same problem still exists for (raw) > tracepoints. In bpftrace, you may want to do something like > `tracepoint:syscalls:sys_enter_* { ... }` and at the moment, we still > need to the cloning in such case. Multi-tracepoint support in the kernel would be nice too. Probably much easier to add than multi-fentry. > But still, it does solve a part of the problem and could be useful for > bpftrace to reduce the memory footprint for wildcarded fentry probes. > I'll try to find some time to give this a shot (unless someone beats me > to it). Pls go ahead. I'm not aware of anyone working on it.