You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libbpf-tools/klockstat: Support nested mutex_trylock
Since kernel 6.16, mutex_trylock() also have a nested version. Add the
support for it.
Moreover the nested version of mutex_lock_killable() is implemented
differently and mutex_lock_killable_nested symbol is replaced by
_mutex_lock_killable.
It fixes the following error of debug kernels:
libbpf: prog 'mutex_trylock_exit': failed to find kernel BTF type ID of 'mutex_trylock': -3
libbpf: prog 'mutex_trylock_exit': failed to prepare load attributes: -3
libbpf: prog 'mutex_trylock_exit': failed to load: -3
libbpf: failed to load object 'klockstat_bpf'
libbpf: failed to load BPF skeleton 'klockstat_bpf': -3
failed to load BPF object
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
0 commit comments