summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-09-23 20:59:10 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-09-24 04:14:44 +0300
commitc2488d70ceee352611e55943c25abf30117e3b67 (patch)
treeb283bf1f81dbc1621f4c10349f4f31fa9ac0b4b1 /tools/perf/scripts/python/exported-sql-viewer.py
parent067f4f291c2063d86abe0a526ef211e03a4f1258 (diff)
downloadlinux-c2488d70ceee352611e55943c25abf30117e3b67.tar.xz
selftests/bpf: make veristat's verifier log parsing faster and more robust
Make sure veristat doesn't spend ridiculous amount of time parsing verifier stats from verifier log, especially for very large logs or truncated logs (e.g., when verifier returns -ENOSPC due to too small buffer). For this, parse lines from the end of the log and make sure we parse only up to 100 last lines, where stats should be, if at all. Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20220923175913.3272430-3-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions