> seems correct to me, can you see see recursion_misses counter in > bpftool prog output for the entry tracing program? Indeed I can. The problem here is that the recursion is not triggered by my programs; from my point of view any miss is basically a random event, and the fact that entry and exit progs can miss independently means that, at any point, I can count two exits for one entry or (worse) just one exit for two entries, making the whole mechanism wildly unreliable. Would using kprobes/kretprobes instead of fentry/fexit here be my best compromise? It is my understanding (please correct me if I'm wrong) that kprobes' recursion prevention is per-cpu rather than per-program, so in this case there would be no imbalance in the number of misses between the entry and exit probes.