commit | 66cf6e0b1248e576468956cb33ad2dabc45163dc | [log] [tgz] |
---|---|---|
author | Stanislav Fomichev <sdf@google.com> | Wed Jan 16 11:10:02 2019 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jan 17 10:30:31 2019 +0100 |
tree | 26536f1e65b0eec1602ea3526273254c1ca3b440 | |
parent | 04a5d323e6b90856b479be7a2b08d4cba6b720b6 [diff] |
bpftool: add peek command This is intended to be used with queues and stacks and be more user-friendly than 'lookup' without key/value. Example: bpftool map create /sys/fs/bpf/q type queue value 4 entries 10 name q bpftool map update pinned /sys/fs/bpf/q value 0 1 2 3 bpftool map peek pinned /sys/fs/bpf/q value: 00 01 02 03 Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>