aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/kernel.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py
index 4ea3af15..719a6e1c 100644
--- a/sos/plugins/kernel.py
+++ b/sos/plugins/kernel.py
@@ -71,11 +71,13 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
for pattern in extra_mod_patterns:
extra_mod_paths.extend(glob.glob(pattern))
+ if extra_mod_paths:
+ self.add_cmd_output("find %s -ls" % " ".join(extra_mod_paths))
+
self.add_cmd_output([
"dmesg",
"sysctl -a",
- "dkms status",
- "find %s -ls" % " ".join(extra_mod_paths)
+ "dkms status"
])
clocksource_path = "/sys/devices/system/clocksource/clocksource0/"