aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul Chaignon <[email protected]>2022-01-04 18:59:29 +0100
committerDaniel Borkmann <[email protected]>2022-01-05 13:31:40 +0100
commitb22bf1b9979a608827dea98c61ed9ec297bcc513 (patch)
tree46d030949e346310c58fb749ae6fb02f0ec2b9c0 /tools/perf/scripts/python/exported-sql-viewer.py
parentc5bcdd8228d80432471d646646a1203dce5b449f (diff)
bpftool: Refactor misc. feature probe
There is currently a single miscellaneous feature probe, HAVE_LARGE_INSN_LIMIT, to check for the 1M instructions limit in the verifier. Subsequent patches will add additional miscellaneous probes, which follow the same pattern at the existing probe. This patch therefore refactors the probe to avoid code duplication in subsequent patches. The BPF program type and the checked error numbers in the HAVE_LARGE_INSN_LIMIT probe are changed to better generalize to other probes. The feature probe retains its current behavior despite those changes. Signed-off-by: Paul Chaignon <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/956c9329a932c75941194f91790d01f31dfbe01b.1641314075.git.paul@isovalent.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions