aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2017-10-19 15:46:21 -0700
committerDavid S. Miller <[email protected]>2017-10-22 02:11:32 +0100
commit1d84487e2a2b98892c3dec7934604e9b76577aa6 (patch)
treedbc3328632eeabdae97f536ee958f20b6baa2f0c /tools/perf/scripts/python/bin/stackcollapse-record
parent1739c26da72c4170c86c368c75133adbb740efef (diff)
tools: bpftool: use err() instead of info() if there are too many insns
Make error messages and return codes more consistent. Specifically, replace the use of info() macro with err() when too many eBPF instructions are received to be dumped, given that bpftool returns with a non-null exit value in that case. Signed-off-by: Quentin Monnet <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions