Greetings, I have been experimenting with the funclatency.py tool and trying to trace the eBPF helper function bpf_map_lookup_elem. To do this, I run the following command: sudo python3 funclatency.py bpf_map_lookup_elem.
The tool reports: Tracing 1 functions for "bpf_map_lookup_elem"... Hit Ctrl-C to end. While it's tracing I run the syscount BCC tool using sudo python3 syscount.py -L, that from my understanding of the code frequently uses this helper to store latency measurements. However, funclatency.py does not print anything during or after its execution.
Is there any reason that funclatency.py should not be able to trace eBPF helpers? When I run the tool to trace other kernel functions such as do_sys_openat2 or trace libraries such as c:read it prints the latency distribution as expected.
Greetings, I have been experimenting with the
funclatency.py
tool and trying to trace the eBPF helper functionbpf_map_lookup_elem
. To do this, I run the following command:sudo python3 funclatency.py bpf_map_lookup_elem
.The tool reports:
Tracing 1 functions for "bpf_map_lookup_elem"... Hit Ctrl-C to end
. While it's tracing I run the syscount BCC tool usingsudo python3 syscount.py -L
, that from my understanding of the code frequently uses this helper to store latency measurements. However,funclatency.py
does not print anything during or after its execution.Is there any reason that
funclatency.py
should not be able to trace eBPF helpers? When I run the tool to trace other kernel functions such asdo_sys_openat2
or trace libraries such asc:read
it prints the latency distribution as expected.