diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2023-09-18 17:52:31 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-09-19 02:07:36 -0700 |
commit | 4d84dcc739d5b253096f9e47957c5964709f5772 (patch) | |
tree | 1bc475121e772fd321cd0b1e44da3a508883211e /tools/perf/scripts/python/task-analyzer.py | |
parent | a5ea26536e89d04485aa9e1c8f60ba11dfc5469e (diff) |
selftests/bpf: Print log buffer for exceptions test only on failure
Alexei reported seeing log messages for some test cases even though we
just wanted to match the error string from the verifier. Move the
printing of the log buffer to a guarded condition so that we only print
it when we fail to match on the expected string in the log buffer,
preventing unneeded output when running the test.
Reported-by: Alexei Starovoitov <[email protected]>
Fixes: d2a93715bfb0 ("selftests/bpf: Add tests for BPF exceptions")
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions