Skip to content

libbpf-tools/klockstat: Disable *_nested kprobes in the fentry code#5374

Merged
chenhengqi merged 1 commit intoiovisor:masterfrom
jeromemarchand:klockstat_kprobe_debug_fix
Jul 21, 2025
Merged

libbpf-tools/klockstat: Disable *_nested kprobes in the fentry code#5374
chenhengqi merged 1 commit intoiovisor:masterfrom
jeromemarchand:klockstat_kprobe_debug_fix

Conversation

@jeromemarchand
Copy link
Contributor

Commit 789e923 ("libbpf-tools/klockstat: Allows kprobe fallback to work with lock debugging (#5359)") add new kprobes to be enabled on debug kernel and disabled on normal kernel. But it forgot to disable them in the fentry code, along with other kprobes.

Disable *_nested kprobes in the fentry code.

Fixes: 789e923 ("libbpf-tools/klockstat: Allows kprobe fallback to work with lock debugging (#5359)")

Commit 789e923 ("libbpf-tools/klockstat: Allows kprobe fallback to
work with lock debugging (iovisor#5359)") add new kprobes to be enabled on
debug kernel and disabled on normal kernel. But it forgot to disable
them in the fentry code, along with other kprobes.

Disable *_nested kprobes in the fentry code.

Fixes: 789e923 ("libbpf-tools/klockstat: Allows kprobe fallback to work with lock debugging (iovisor#5359)")
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
@chenhengqi chenhengqi merged commit 982b7d3 into iovisor:master Jul 21, 2025
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants