diff options
author | Quentin Monnet <[email protected]> | 2019-08-21 09:52:18 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-08-21 21:17:27 +0200 |
commit | c354ff2ef233a694d657b03a499c3c3fddbec599 (patch) | |
tree | 00de959e3a9746bbbcefb838af102f62501a801e /tools/perf/scripts/python/sched-migration.py | |
parent | 1f8919b170318e7e13e303eedac363d44057995f (diff) |
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 <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions