aboutsummaryrefslogtreecommitdiffstats
path: root/sos/plugins/systemtap.py
diff options
context:
space:
mode:
Diffstat (limited to 'sos/plugins/systemtap.py')
-rw-r--r--sos/plugins/systemtap.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/sos/plugins/systemtap.py b/sos/plugins/systemtap.py
index 0f227a36..8b3a9de9 100644
--- a/sos/plugins/systemtap.py
+++ b/sos/plugins/systemtap.py
@@ -19,10 +19,9 @@ from sos.plugins import Plugin, RedHatPlugin
class systemtap(Plugin, RedHatPlugin):
"""SystemTap information
"""
- def checkenabled(self):
- self.files = [ "/usr/bin/stap" ]
- self.packages = [ "systemtap", "systemtap-runtime" ]
- return Plugin.checkenabled(self)
+
+ files = ('/usr/bin/stap')
+ packages = ('systemtap', 'systemtap-runtime')
def setup(self):
self.collectExtOutput("/usr/bin/stap -V 2")