From 098ca1644dcf56482a95d91f09e1ea612ef053ff Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Wed, 8 Oct 2025 13:06:19 +0100 Subject: [PATCH] dev-debug/dtrace: check for kernel config options needed for error injection Signed-off-by: Sam James --- dev-debug/dtrace/dtrace-9999.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-debug/dtrace/dtrace-9999.ebuild b/dev-debug/dtrace/dtrace-9999.ebuild index 20603ddb65597..45c9bc9361c5b 100644 --- a/dev-debug/dtrace/dtrace-9999.ebuild +++ b/dev-debug/dtrace/dtrace-9999.ebuild @@ -86,6 +86,7 @@ pkg_pretend() { CONFIG_CHECK+=" ~UPROBES ~UPROBE_EVENTS" CONFIG_CHECK+=" ~FTRACE ~FTRACE_SYSCALLS ~DYNAMIC_FTRACE ~FUNCTION_TRACER" CONFIG_CHECK+=" ~FPROBE" + CONFIG_CHECK+=" ~BPF_KPROBE_OVERRIDE ~FUNCTION_ERROR_INJECTION" # DTrace can fallback to kprobes for fbt but people often want them off # for security and newer kernels work fine with BPF for that, so # let's omit it. kprobes are slower and scale poorly.