aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorLorenz Bauer <[email protected]>2018-11-16 11:41:08 +0000
committerDaniel Borkmann <[email protected]>2018-11-19 23:53:39 +0000
commit96b3b6c9091d23289721350e32c63cc8749686be (patch)
tree94552c4164204873c93534fb2383044e122d0488 /tools/bpf/bpftool/prog.c
parentbpf: libbpf: retry map creation without the name (diff)
downloadkernel-96b3b6c9091d23289721350e32c63cc8749686be.tar.gz
kernel-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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions