aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorCihangir Akturk <[email protected]>2016-04-09 21:47:44 +0300
committerGreg Kroah-Hartman <[email protected]>2016-04-11 21:03:27 -0700
commit3726470610327f353e816e21a86bc432dd929584 (patch)
tree0de749924daae3daa2a60287cd6171f44895a140 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc970b6058b60e57c9b831fd69ded4cafb62fa308 (diff)
staging: lustre: split error handling code into multiple labels
Instead of using a switch-case statement to find out what kind of error has just happened, split error handling logic into multiple labels and jump right into the appropriate label to do the error handling. This way it is easier to follow different code paths. It also looks easy on the eyes. Additionally silences the following coccinelle warning: drivers/staging/lustre/lustre/obdecho/echo_client.c:762:22-27: ERROR: ed is NULL but dereferenced. Signed-off-by: Cihangir Akturk <[email protected]> Acked-by: James Simmons <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions