commit:     b04b4884fb067d279a308f149aee2b9dc11d09ca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 22 12:43:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 22 12:43:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b04b4884

dev-debug/dtrace: elaborate on kprobes being bad

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild | 2 +-
 dev-debug/dtrace/dtrace-9999.ebuild       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild 
b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
index adfca6d38fe1..250c9ddd9755 100644
--- a/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
+++ b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
@@ -91,7 +91,7 @@ pkg_pretend() {
        CONFIG_CHECK+=" ~FPROBE"
        # 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.
+       # let's omit it. kprobes are slower and scale poorly.
 
        # https://gcc.gnu.org/PR84052
        CONFIG_CHECK+=" !GCC_PLUGIN_RANDSTRUCT"

diff --git a/dev-debug/dtrace/dtrace-9999.ebuild 
b/dev-debug/dtrace/dtrace-9999.ebuild
index adfca6d38fe1..250c9ddd9755 100644
--- a/dev-debug/dtrace/dtrace-9999.ebuild
+++ b/dev-debug/dtrace/dtrace-9999.ebuild
@@ -91,7 +91,7 @@ pkg_pretend() {
        CONFIG_CHECK+=" ~FPROBE"
        # 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.
+       # let's omit it. kprobes are slower and scale poorly.
 
        # https://gcc.gnu.org/PR84052
        CONFIG_CHECK+=" !GCC_PLUGIN_RANDSTRUCT"

Reply via email to