aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorMichal Rostecki <[email protected]>2020-02-26 17:59:35 +0100
committerDaniel Borkmann <[email protected]>2020-02-26 18:34:34 +0100
commit6b52ca44e8af2c508ffbcd03261cf849a740756a (patch)
tree62ed3f4f1c03147954ee4574768e8d7a6a7bff3f /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent3494bec0f6ac8ac06e0ad7c35933db345b2c5a83 (diff)
bpftool: Move out sections to separate functions
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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions