25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
|
commit ead30c04c7157fec194c0f6d81e5c51c99bf25cf
|
||
|
gpg: Signature made Wed 24 May 2023 10:23:54 AM EDT
|
||
|
gpg: using RSA key 5D38116FA4D3A7CC77E378D37E83610126DCC2E8
|
||
|
gpg: Good signature from "Frank Ch. Eigler <fche@elastic.org>" [full]
|
||
|
Author: Frank Ch. Eigler <fche@redhat.com>
|
||
|
Date: Wed May 24 10:22:08 2023 -0400
|
||
|
|
||
|
PR30484: stap-report: scrape less of /sys /proc
|
||
|
|
||
|
Mainly: avoid process/busy parts like /proc/$pid.
|
||
|
|
||
|
diff --git a/stap-report b/stap-report
|
||
|
index 217ddf840..3b3a1a258 100755
|
||
|
--- a/stap-report
|
||
|
+++ b/stap-report
|
||
|
@@ -105,7 +105,7 @@ elif [ -f /var/log/packages ]; then
|
||
|
run "cat /var/log/packages | egrep 'systemtap|elfutils|kernel|gcc|dyninst|java|byteman|avahi|nss|nspr|dejagnu' | sort -k9"
|
||
|
fi
|
||
|
run "egrep 'PROBE|RANDOMIZE|RELOC|TRACE|MARKER|KALLSYM|_DEBUG_|LOCKDEP|LOCKING|MODULE|FENTRY|_SIG|BPF' /lib/modules/`uname -r`/build/.config | grep -v not.set | sort | fmt -w 80"
|
||
|
-run "find /debugfs /proc /sys /dev /sys/kernel/debug -type f -path '*kprobe*' -o -path '*yama*' 2>/dev/null | xargs grep -H ."
|
||
|
+run "find /debugfs /proc/sys /sys/kernel /dev -type f -path '*kprobe*' -o -path '*yama*' 2>/dev/null | xargs grep -H ."
|
||
|
run "lsmod"
|
||
|
run "avahi-browse -r -t _stap._tcp"
|
||
|
run "ifconfig -a"
|