diff options
| author | Matthieu Baerts <[email protected]> | 2022-02-17 19:03:10 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-02-17 19:59:59 -0800 |
| commit | 87154755d90ed60919cc5709e322b397701e4f58 (patch) | |
| tree | 6cf09394c019f0879ae180ce7240bfcd0ed9691c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 93827ad58f6296bf15fa72265e55fb0f335fcf84 (diff) | |
selftests: mptcp: join: check for tools only if needed
To allow showing the 'help' menu even if these tools are not available.
While at it, also avoid launching the command then checking $?. Instead,
the check is directly done in the 'if'.
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions