History

bpf: Add missed value to kprobe_multi link info

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.

Jiri Olsa committed 3 years ago

Commit e2b2cd51 parent f915fcb3 files · +3 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/bpf.h+1−0
@@ -6532,6 +6532,7 @@ struct bpf_link_info { · 6531 unmodified lines
65326532 __aligned_u64 addrs;
65336533 __u32 count; /* in/out: kprobe_multi function count */
65346534 __u32 flags;
6535+ __u64 missed;
65356536 } kprobe_multi;
65366537 struct {
65376538 __u32 type; /* enum bpf_perf_event_type */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t