diff options
author | Johan Almbladh <[email protected]> | 2021-09-14 11:18:30 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-09-28 09:26:28 +0200 |
commit | 4bc354138d553bc48dc1fb1e184d50a524e6c20f (patch) | |
tree | 02e8fb835d869fc4c3b3354a36a52de6f85784a3 /tools/perf/scripts/python | |
parent | c2a228d69cef802cf6bfd773c84f8419d2e2acf9 (diff) |
bpf/tests: Reduce memory footprint of test suite
The test suite used to call any fill_helper callbacks to generate eBPF
program data for all test cases at once. This caused ballooning memory
requirements as more extensive test cases were added. Now the each
fill_helper is called before the test is run and the allocated memory
released afterwards, before the next test case is processed.
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')
0 files changed, 0 insertions, 0 deletions