Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ebpf] Check for bpftool presence before running plugin
The plugin was running even when the bpftool was not present, throwing an exception when it tried to parse a json output: INFO: [plugin:ebpf] Could not parse bpftool prog list as JSON: Expecting value: line 1 column 1 (char 0) It now checks if the program is present before running any command at all. Related: RH SUPDEV-151 Signed-off-by: Jose Castillo <[email protected]>
- Loading branch information