From 8f7f6061447934dc01e0ae0817a93c5c02569405 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Fri, 3 Jun 2022 14:18:57 -0400 Subject: [systemtap] Correct enable trigger to `commands` The enablement trigger of `files` in this plugin was incorrect, and should have been `commands` given we're checking for an executable. Fix that, so that this plugin can properly enable on more than just the package names. Signed-off-by: Jake Hunsaker --- sos/report/plugins/systemtap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sos/report/plugins/systemtap.py b/sos/report/plugins/systemtap.py index 034b2349..5216ab94 100644 --- a/sos/report/plugins/systemtap.py +++ b/sos/report/plugins/systemtap.py @@ -18,7 +18,7 @@ class SystemTap(Plugin, IndependentPlugin): plugin_name = 'systemtap' profiles = ('debug', 'performance') - files = ('stap',) + commands = ('stap',) packages = ('systemtap', 'systemtap-runtime') def setup(self): -- cgit