perf script: Don't display trace info when invoking scripts
authorTom Zanussi <tom.zanussi@linux.intel.com>
Fri, 18 Jan 2013 19:51:26 +0000 (13:51 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:52 +0000 (16:40 -0300)
commitbdb71db29d50b61f45459b8facfb876768e8cacc
treee53ad91c677ae6091c14748ae415abeb1f1a10f0
parent10ee9fa3b92dece36209a3786d7bd558d459635f
perf script: Don't display trace info when invoking scripts

Only display the trace info if using the default event display.  When
invoking scripts we assume they have complete control of what's
displayed so we shouldn't unconditionally display the trace info, and
when generating scripts we don't expect to see trace info obscuring the
output message.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Link: http://lkml.kernel.org/r/12ec084ef2870178915c907d16cd1dfa19fbb39e.1358527965.git.tom.zanussi@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c