On Thu, Sep 7, 2023 at 12:14 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > Adding selftest that puts kprobe on bpf_fentry_test1 that calls bpf_printk > and invokes bpf_trace_printk tracepoint. The bpf_trace_printk tracepoint > has test[234] programs attached to it. > > Because kprobe execution goes through bpf_prog_active check, programs > attached to the tracepoint will fail the recursion check and increment the > recursion_misses stats. > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> Reviewed-and-tested-by: Song Liu <song@xxxxxxxxxx> [...]