aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-04 21:47:13 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-04 21:47:13 +0000
commitda72fc4c379829ac63bb18f779305287de1c76bd (patch)
tree4f618ceb41aed406ec62635286e871d9a723f666
parent362c491d976509fdf89180818b2f0039ee54793e (diff)
downloadsos-da72fc4c379829ac63bb18f779305287de1c76bd.tar.gz
Clean up kernel_rt module
Rename the realtime kernel module to "kernelrt" and move non-realtime specific information to more appropriate modules.
-rw-r--r--sos/plugins/kernel.py6
-rw-r--r--sos/plugins/kernelrt.py (renamed from sos/plugins/kernel_rt.py)4
2 files changed, 5 insertions, 5 deletions
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py
index d1d5f93f..bbbe511c 100644
--- a/sos/plugins/kernel.py
+++ b/sos/plugins/kernel.py
@@ -71,7 +71,11 @@ class kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/proc/driver",
"/proc/zoneinfo",
"/proc/sys/kernel/tainted",
- "/proc/buddyinfo"])
+ "/proc/buddyinfo",
+ "/proc/softirqs",
+ "/proc/timer*",
+ "/proc/lock*"])
+
self.collectExtOutput("/usr/sbin/dkms status")
def diagnose(self):
diff --git a/sos/plugins/kernel_rt.py b/sos/plugins/kernelrt.py
index da537913..5569ef48 100644
--- a/sos/plugins/kernel_rt.py
+++ b/sos/plugins/kernelrt.py
@@ -28,10 +28,6 @@ class kernel_rt(Plugin, RedHatPlugin):
self.addCopySpec('/etc/rtgroups')
self.addCopySpec('/proc/sys/kernel/sched_rt_period_us')
self.addCopySpec('/proc/sys/kernel/sched_rt_runtime_us')
- self.addCopySpec('/proc/cgroups')
- self.addCopySpec('/proc/softirqs')
- self.addCopySpec('/proc/timer*')
- self.addCopySpec('/proc/lock*')
self.addCopySpec('/sys/kernel/realtime')
self.addCopySpec('/sys/devices/system/clocksource/clocksource0/available_clocksource')
self.addCopySpec('/sys/devices/system/clocksource/clocksource0/current_clocksource')