diff options
| author | Andrii Nakryiko <[email protected]> | 2020-09-15 17:48:19 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-09-15 18:37:33 -0700 |
| commit | c64779e24e88a9915b2f35fbb9851ef2c5462cc2 (patch) | |
| tree | 1c61e5b88a979036680fbf3d369bddfcc631a76b /tools/perf/scripts/python/flamegraph.py | |
| parent | ffa915f46193b6be780483c8d31cc53f093f6d9a (diff) | |
selftests/bpf: Merge most of test_btf into test_progs
Merge 183 tests from test_btf into test_progs framework to be exercised
regularly. All the test_btf tests that were moved are modeled as proper
sub-tests in test_progs framework for ease of debugging and reporting.
No functional or behavioral changes were intended, I tried to preserve
original behavior as much as possible. E.g., `test_progs -v` will activate
"always_log" flag to emit BTF validation log.
The only difference is in reducing the max_entries limit for pretty-printing
tests from (128 * 1024) to just 128 to reduce tests running time without
reducing the coverage.
Example test run:
$ sudo ./test_progs -n 8
...
#8 btf:OK
Summary: 1/183 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions