Add missed value to kprobe_multi link info to hold the stats of missed kprobe_multi probe. The missed counter gets incremented when fprobe fails the recursion check or there's no rethook available for return probe. In either case the attached bpf program is not executed.
Showing the changes to tools/include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -6532,6 +6532,7 @@ struct bpf_link_info { · 6531 unmodified lines | |||
| 6532 | __aligned_u64 addrs; | 6532 | __aligned_u64 addrs; |
| 6533 | __u32 count; /* in/out: kprobe_multi function count */ | 6533 | __u32 count; /* in/out: kprobe_multi function count */ |
| 6534 | __u32 flags; | 6534 | __u32 flags; |
| 6535 | __u64 missed; | ||
| 6535 | } kprobe_multi; | 6536 | } kprobe_multi; |
| 6536 | struct { | 6537 | struct { |
| 6537 | __u32 type; /* enum bpf_perf_event_type */ | 6538 | __u32 type; /* enum bpf_perf_event_type */ |