aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2023-04-21 02:23:16 +0300
committerAlexei Starovoitov <[email protected]>2023-04-20 16:49:16 -0700
commit5b22f4d1436b2693c7176a76be0ba6d30503bf7c (patch)
treeb238b17a89f346931b2fd66f66e43188a8c50329 /tools/perf/scripts/python/exported-sql-viewer.py
parent7cdddb99e4a69c26881d279472f1487cd67740c4 (diff)
selftests/bpf: add pre bpf_prog_test_run_opts() callback for test_loader
When a test case is annotated with __retval tag the test_loader engine would use libbpf's bpf_prog_test_run_opts() to do a test run of the program and compare retvals. This commit allows to perform arbitrary actions on bpf object right before test loader invokes bpf_prog_test_run_opts(). This could be used to setup some state for program execution, e.g. fill some maps. Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions