diff options
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | 2018-10-09 04:04:51 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-10-10 07:52:20 +0300 |
commit | 18a781daa93e67b795976353a6b5d120939c50bc (patch) | |
tree | eb228d6e507be767d8da5341833197d85bcb6f0b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b4a63f674e94795c9b76a41b36364b8aec232e1 (diff) | |
download | linux-18a781daa93e67b795976353a6b5d120939c50bc.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions