diff options
author | 2019-08-06 17:17:52 -0700 | |
---|---|---|
committer | 2019-08-06 17:17:53 -0700 | |
commit | 682cdbdc216028f5340e48e92e59e3e9503957bb (patch) | |
tree | 1822c880732872e2ffb4a9496a4bfaf221da58ce /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | selftests/bpf: add loop test 5 (diff) | |
parent | selftests/bpf: test_progs: drop extra trailing tab (diff) | |
download | linux-dev-682cdbdc216028f5340e48e92e59e3e9503957bb.tar.xz linux-dev-682cdbdc216028f5340e48e92e59e3e9503957bb.zip |
Merge branch 'test_progs-stdio'
Stanislav Fomichev says:
====================
I was looking into converting test_sockops* to test_progs framework
and that requires using cgroup_helpers.c which rely on stdio/stderr.
Let's use open_memstream to override stdout into buffer during
subtests instead of custom test_{v,}printf wrappers. That lets
us continue to use stdio in the subtests and dump it on failure
if required.
That would also fix bpf_find_map which currently uses printf to
signal failure (missed during test_printf conversion).
====================
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