diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-11-30 02:18:49 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-30 03:04:01 -0500 |
commit | 8ea339adc0a48236008e59dd21564d71c37b331c (patch) | |
tree | 86262454f22f008acdb9e76fe1ab9176efaea9d9 /tools | |
parent | 61381de0504181368672a83d2e14c38dbaf3c136 (diff) |
perf trace/scripting: Add Fedora libperl install note to doc
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/scripts/perl/Perf-Trace-Util/README | 4 | ||||
-rw-r--r-- | tools/perf/util/trace-event-perl.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tools/perf/scripts/perl/Perf-Trace-Util/README b/tools/perf/scripts/perl/Perf-Trace-Util/README index adb99aa3a7b8..9a9707630791 100644 --- a/tools/perf/scripts/perl/Perf-Trace-Util/README +++ b/tools/perf/scripts/perl/Perf-Trace-Util/README | |||
@@ -36,8 +36,8 @@ INSTALLATION | |||
36 | Building perf with perf trace Perl scripting should install this | 36 | Building perf with perf trace Perl scripting should install this |
37 | module in the right place. | 37 | module in the right place. |
38 | 38 | ||
39 | You should make sure libperl is installed first e.g. apt-get install | 39 | You should make sure libperl and ExtUtils/Embed.pm are installed first |
40 | libperl-dev. | 40 | e.g. apt-get install libperl-dev or yum install perl-ExtUtils-Embed. |
41 | 41 | ||
42 | DEPENDENCIES | 42 | DEPENDENCIES |
43 | 43 | ||
diff --git a/tools/perf/util/trace-event-perl.c b/tools/perf/util/trace-event-perl.c index 2e1cc3c11c70..51e833fd58c3 100644 --- a/tools/perf/util/trace-event-perl.c +++ b/tools/perf/util/trace-event-perl.c | |||
@@ -577,7 +577,9 @@ struct scripting_ops perl_scripting_ops = { | |||
577 | void setup_perl_scripting(void) | 577 | void setup_perl_scripting(void) |
578 | { | 578 | { |
579 | fprintf(stderr, "Perl scripting not supported." | 579 | fprintf(stderr, "Perl scripting not supported." |
580 | " Install libperl-dev[el] and rebuild perf to get it.\n"); | 580 | " Install libperl and rebuild perf to enable it. e.g. " |
581 | "apt-get install libperl-dev (ubuntu), yum install " | ||
582 | "perl-ExtUtils-Embed (Fedora), etc.\n"); | ||
581 | } | 583 | } |
582 | #else | 584 | #else |
583 | void setup_perl_scripting(void) | 585 | void setup_perl_scripting(void) |