diff options
author | Yucong Sun <fallentree@fb.com> | 2021-08-17 07:47:29 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-08-17 21:16:27 +0300 |
commit | 26d82640d5ba2c3b32d79597be2dcf820ed78b16 (patch) | |
tree | 1ffa79571054c11b54194d146b818278fcbad04a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 857f75ea845706a0ec65ce2239da519214a4451a (diff) | |
download | linux-26d82640d5ba2c3b32d79597be2dcf820ed78b16.tar.xz |
selftests/bpf: Skip loading bpf_testmod when using -l to list tests.
When using "-l", test_progs often is executed as non-root user,
load_bpf_testmod() will fail and output errors. This patch skips loading bpf
testmod when "-l" is specified, making output cleaner.
Signed-off-by: Yucong Sun <fallentree@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210817044732.3263066-2-fallentree@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions