aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2018-03-17 02:31:38 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-17 20:15:13 -0400
commit380e29a6b71fac7ce7a437ab2f7e305c3de8076f (patch)
tree78e28fde06bede1084b7dc8efbd7c632ca4902fc /tools/perf/scripts/python/call-graph-from-sql.py
parentfe2d55d295cf70d5b1f1f1217cfa771bf5eb3f7f (diff)
selftests: pmtu: Reverse return codes of functions
David suggests it's more intuitive to return non-zero on failures, and zero on success. No need to introduce tail 'return 0' in functions, they will return the exit code of the last command anyway. Suggested-by: David Ahern <dsahern@gmail.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions