perf trace/scripting: Add Fedora libperl install note to doc
authorTom Zanussi <tzanussi@gmail.com>
Mon, 30 Nov 2009 07:18:49 +0000 (01:18 -0600)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Nov 2009 08:04:01 +0000 (09:04 +0100)
Fedora needs perl-ExtUtils-Embed for Perl scripting, which also
brings along libperl-devel; note this info for the convenience
of Fedora users.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
Cc: anton@samba.org
Cc: hch@infradead.org
LKML-Reference: <1259565529-6407-5-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/scripts/perl/Perf-Trace-Util/README
tools/perf/util/trace-event-perl.c

index adb99aa3a7b8f68796ba491a5c0b009a5fab8efc..9a970763079144666b9bebb3f6d626bd7009f298 100644 (file)
@@ -36,8 +36,8 @@ INSTALLATION
 Building perf with perf trace Perl scripting should install this
 module in the right place.
 
-You should make sure libperl is installed first e.g. apt-get install
-libperl-dev.
+You should make sure libperl and ExtUtils/Embed.pm are installed first
+e.g. apt-get install libperl-dev or yum install perl-ExtUtils-Embed.
 
 DEPENDENCIES
 
index 2e1cc3c11c705a2e8aa5f1f0fb18e7aa1b304679..51e833fd58c39a1c863d65ad799839aa3ce3cd31 100644 (file)
@@ -577,7 +577,9 @@ struct scripting_ops perl_scripting_ops = {
 void setup_perl_scripting(void)
 {
        fprintf(stderr, "Perl scripting not supported."
-               "  Install libperl-dev[el] and rebuild perf to get it.\n");
+               "  Install libperl and rebuild perf to enable it.  e.g. "
+               "apt-get install libperl-dev (ubuntu), yum install "
+               "perl-ExtUtils-Embed (Fedora), etc.\n");
 }
 #else
 void setup_perl_scripting(void)