diff options
author | Johan Almbladh <[email protected]> | 2021-09-14 11:18:29 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-09-28 09:26:27 +0200 |
commit | c2a228d69cef802cf6bfd773c84f8419d2e2acf9 (patch) | |
tree | 52a54fe7adfd2f688a3cb7a8b3b71aa8716df051 /tools/perf/scripts/python/flamegraph.py | |
parent | c3e8c44a90631d2479fec6ecc6ba37e3188f487d (diff) |
bpf/tests: Allow different number of runs per test case
This patch allows a test cast to specify the number of runs to use. For
compatibility with existing test case definitions, the default value 0
is interpreted as MAX_TESTRUNS.
A reduced number of runs is useful for complex test programs where 1000
runs may take a very long time. Instead of reducing what is tested, one
can instead reduce the number of times the test is run.
Signed-off-by: Johan Almbladh <[email protected]>
Signed-off-by: Daniel Borkmann <[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