]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace/scripting: Fix compile error when libperl not installed
authorTom Zanussi <tzanussi@gmail.com>
Mon, 7 Dec 2009 02:41:52 +0000 (20:41 -0600)
committerIngo Molnar <mingo@elte.hu>
Mon, 7 Dec 2009 05:31:37 +0000 (06:31 +0100)
commitc8a30a37e8068595521eb5c9b83f8aac409c81f3
treeb1d94db3c4036097967e218919ac717ae753b9e6
parentce5ebaa3261a2ba96a5fb382448c5e3606279cc6
perf trace/scripting: Fix compile error when libperl not installed

When I added the xs callbacks into perf, I forgot to re-check
the no-libperl case. This patch fixes the undefined reference
error for that.

Reported-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1260153712.6564.4.camel@tropicana>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/trace-event-perl.c
tools/perf/util/trace-event-perl.h