aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf
diff options
context:
space:
mode:
authorQuentin Monnet <quentin.monnet@netronome.com>2019-08-21 09:52:18 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-08-21 21:17:27 +0200
commitc354ff2ef233a694d657b03a499c3c3fddbec599 (patch)
tree00de959e3a9746bbbcefb838af102f62501a801e /tools/testing/selftests/bpf
parentbpf: sync bpf.h to tools/ (diff)
downloadlinux-dev-c354ff2ef233a694d657b03a499c3c3fddbec599.tar.xz
linux-dev-c354ff2ef233a694d657b03a499c3c3fddbec599.zip
tools: bpftool: show frozen status for maps
When listing maps, read their "frozen" status from procfs, and tell if maps are frozen. As commit log for map freezing command mentions that the feature might be extended with flags (e.g. for write-only instead of read-only) in the future, use an integer and not a boolean for JSON output. Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions