diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2022-06-03 14:18:57 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2022-06-06 13:27:38 -0400 |
commit | 8f7f6061447934dc01e0ae0817a93c5c02569405 (patch) | |
tree | f14664e4ee74f231727e08461e45e3c589f09c61 | |
parent | c2e66fa4dae51f03c7310ba5278897ddecac1aad (diff) | |
download | sos-8f7f6061447934dc01e0ae0817a93c5c02569405.tar.gz |
[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 <jhunsake@redhat.com>
-rw-r--r-- | sos/report/plugins/systemtap.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |