diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2018-11-16 11:41:08 +0000 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-20 00:53:39 +0100 |
commit | 96b3b6c9091d23289721350e32c63cc8749686be (patch) | |
tree | 94552c4164204873c93534fb2383044e122d0488 /tools | |
parent | bpf: libbpf: retry map creation without the name (diff) | |
download | linux-dev-96b3b6c9091d23289721350e32c63cc8749686be.tar.xz linux-dev-96b3b6c9091d23289721350e32c63cc8749686be.zip |
bpf: allow zero-initializing hash map seed
Add a new flag BPF_F_ZERO_SEED, which forces a hash map
to initialize the seed to zero. This is useful when doing
performance analysis both on individual BPF programs, as
well as the kernel's hash table implementation.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions