Re: [PATCH bpf-next v2 1/5] bpftool: Move out sections to separate functions

From: Quentin Monnet
Date: Fri Feb 21 2020 - 06:27:57 EST


2020-02-21 04:16 UTC+0100 ~ Michal Rostecki <mrostecki@xxxxxxxxxxxx>
Remove all calls of print_end_then_start_section function and for loops
out from the do_probe function. Instead, provide separate functions for
each section (like i.e. section_helpers) which are called in do_probe.
This change is motivated by better readability.

Signed-off-by: Michal Rostecki <mrostecki@xxxxxxxxxxxx>

Thanks!

Reviewed-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>