diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2020-09-28 10:08:04 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-28 16:48:02 -0700 |
commit | 27870317337a6c24af503304620de8064c8d2e4a (patch) | |
tree | ac3c4957aae2f9d8abd3d313fe0934933d21b46c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 26c3270ddb4955be358c888766ad1a6105dd7469 (diff) |
selftests: bpf: Remove shared header from sockmap iter test
The shared header to define SOCKMAP_MAX_ENTRIES is a bit overkill.
Dynamically allocate the sock_fd array based on bpf_map__max_entries
instead.
Suggested-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200928090805.23343-4-lmb@cloudflare.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions