Hi, I'm trying to measure the performance of my BPF programs, which attach to clsact. As a start, I thought I could simply measure the cycles spent on cls_bpf_classify(), because it's the wrapper calling into my BPF programs.
However, it seems that kprobe can not probe cls_bpf_classify(), even though cls_bpf_classify isn't in NOKPROBE_SYMBOL. Is there any reason why we couldn't probe it? [root@vm-dev bpf]# echo 'p:myprobe3 cls_bpf_classify' >> /sys/kernel/debug/tracing/kprobe_events bash: echo: write error: No such file or directory As an alternative, I can probe on "__bpf_prog_run". [root@vm-dev bpf]# echo 'p:myprobe4 __bpf_prog_run' >> /sys/kernel/debug/tracing/kprobe_events Thanks William _______________________________________________ iovisor-dev mailing list [email protected] https://lists.iovisor.org/mailman/listinfo/iovisor-dev
