commit | 18a781daa93e67b795976353a6b5d120939c50bc | [log] [tgz] |
---|---|---|
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | Tue Oct 09 10:04:51 2018 +0900 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Oct 09 21:52:20 2018 -0700 |
tree | eb228d6e507be767d8da5341833197d85bcb6f0b | |
parent | 3b4a63f674e94795c9b76a41b36364b8aec232e1 [diff] |
tools/bpf: bpftool, split the function do_dump() do_dump() function in bpftool/map.c has deep indentations. In order to reduce deep indent, let's move element printing code out of do_dump() into dump_map_elem() function. Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>