perf debug: Simplify trace_event
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 30 Nov 2010 19:48:53 +0000 (17:48 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 30 Nov 2010 22:58:42 +0000 (20:58 -0200)
commit5b1c144475a7f2d0ab34d0b9b8414ab18b02a283
tree401bdf5475133464b307d139e3a3cf3ce8fca848
parent5c891f3840a7a330c96d7203d4bb5be6fa033724
perf debug: Simplify trace_event

No need to check that many times if debug_trace is on.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/debug.c