Re: [PATCHv2 bpf-next 9/9] selftests/bpf: Add test for recursion counts of perf event link tracepoint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

[...]





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux