bpftrace provided tool 'tcpdrop.bt' fails with "Error attaching probe: 'kprobe:tcp_drop'"
Issue
- The
bpftrace
provided tooltcpdrop.bt
fails with"Error attaching probe: 'kprobe:tcp_drop'"
# /usr/share/bpftrace/tools/tcpdrop.bt
Attaching 3 probes...
cannot attach kprobe, probe entry may not exist
ERROR: Error attaching probe: 'kprobe:tcp_drop'
Environment
- Red Hat Enterprise Linux 9
- bpftrace
- tcpdrop.bt
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.