perf trace/scripting: Don't display 'scripting unsupported' msg unnecessarily
authorTom Zanussi <tzanussi@gmail.com>
Mon, 7 Dec 2009 05:31:59 +0000 (23:31 -0600)
committerIngo Molnar <mingo@elte.hu>
Mon, 7 Dec 2009 07:05:07 +0000 (08:05 +0100)
commit67a6259ec97b8408f86f2fe8459d2233f0b0987d
treef4c59f41befe7bec255db14ac568bc7b170d7258
parent11a80ddbf3521c428bcde2d31e6632cef186bae9
perf trace/scripting: Don't display 'scripting unsupported' msg unnecessarily

The 'scripting unsupported' message should only be displayed
when the -s or -g options are used, and not when they aren't, as
the current code does.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: rostedt@goodmis.org
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1260163919-6679-3-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/trace-event-perl.c