Hi, I am unable to trace nf_nat functions using kprobe with the latest kernel. Previously in kernel 6.1.55-1 it was working fine. Can someone please check if it's broken with the latest commit or i have to use it differently?
Mentioned below are output: Kernel - 6.1.55-1 / # bpftrace -e 'kprobe:nf_nat_ipv4_manip_pkt { printf("func called\n"); }' Attaching 1 probe... cannot attach kprobe, probe entry may not exist ERROR: Error attaching probe: 'kprobe:nf_nat_ipv4_manip_pkt' Kernel 6.1.55-1 / # bpftrace -e 'kprobe:nf_nat_ipv4_manip_pkt { printf("func called\n"); }' Attaching 1 probe... func called func called