aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_progs.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-07-27 20:25:26 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-07-27 22:36:19 -0700
commite87fd8bae44c3eaa6205c9c81419e773896dc157 (patch)
treee503465a3c5227bc9c1872a16139c396e87801e7 /tools/testing/selftests/bpf/test_progs.h
parentselftests/bpf: add test selectors by number and name to test_progs (diff)
downloadlinux-dev-e87fd8bae44c3eaa6205c9c81419e773896dc157.tar.xz
linux-dev-e87fd8bae44c3eaa6205c9c81419e773896dc157.zip
libbpf: return previous print callback from libbpf_set_print
By returning previously set print callback from libbpf_set_print, it's possible to restore it, eventually. This is useful when running many independent test with one default print function, but overriding log verbosity for particular subset of tests. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_progs.h')
0 files changed, 0 insertions, 0 deletions