From dc551c9aa92a815f6cbe7dc8819cc5532c8bf68f Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Mon, 22 Apr 2013 18:46:34 +0100 Subject: Clean up /proc data collection in kernel plug-in Reorder the list of collected files so that all *info appear together to avoid duplication and other errors creeping in. Get rid of /proc/ksyms (2.4) and replace with /proc/kallsyms. Signed-off-by: Bryn M. Reeves --- sos/plugins/kernel.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py index eb15ee43..8c50da2d 100644 --- a/sos/plugins/kernel.py +++ b/sos/plugins/kernel.py @@ -39,9 +39,10 @@ class kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/sys/module/*/initstate", "/sys/module/*/refcnt", "/sys/module/*/taint", - "/proc/filesystems", - "/proc/ksyms", + "/proc/kallsyms", + "/proc/buddyinfo", "/proc/slabinfo", + "/proc/zoneinfo", "/lib/modules/%s/modules.dep" % self.policy().kernel_version(), "/etc/conf.modules", "/etc/modules.conf", @@ -52,9 +53,7 @@ class kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/lib/sysctl.d", "/proc/cmdline", "/proc/driver", - "/proc/zoneinfo", "/proc/sys/kernel/tainted", - "/proc/buddyinfo", "/proc/softirqs", "/proc/timer*", "/proc/lock*"]) -- cgit