perf trace: Simplify sys_exit return printing
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2013 14:28:34 +0000 (11:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2013 20:25:50 +0000 (17:25 -0300)
commitda3c9a448af7ab2beab62cfff42bdea9590d9bea
tree9a5a74aa5186d1c59d3fb242dba5e727294a8798
parent13d4ff3eb36474728be2acfa773b31ff39f3ea4d
perf trace: Simplify sys_exit return printing

Avoiding multiple sc->fmt != NULL tests.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-w28d1o3uslden0k57653kda7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c