From 35b9cb0e9cf933c22f41dd919c9b450da3a441ce Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 30 Nov 2009 01:18:49 -0600 Subject: [PATCH] --- yaml --- r: 169865 b: refs/heads/master c: 8ea339adc0a48236008e59dd21564d71c37b331c h: refs/heads/master i: 169863: 708f27da19f234c649c8c1dc42df0e0102b1e585 v: v3 --- [refs] | 2 +- trunk/tools/perf/scripts/perl/Perf-Trace-Util/README | 4 ++-- trunk/tools/perf/util/trace-event-perl.c | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 28ef6e7bdc7d..4e9430569779 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 61381de0504181368672a83d2e14c38dbaf3c136 +refs/heads/master: 8ea339adc0a48236008e59dd21564d71c37b331c diff --git a/trunk/tools/perf/scripts/perl/Perf-Trace-Util/README b/trunk/tools/perf/scripts/perl/Perf-Trace-Util/README index adb99aa3a7b8..9a9707630791 100644 --- a/trunk/tools/perf/scripts/perl/Perf-Trace-Util/README +++ b/trunk/tools/perf/scripts/perl/Perf-Trace-Util/README @@ -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 diff --git a/trunk/tools/perf/util/trace-event-perl.c b/trunk/tools/perf/util/trace-event-perl.c index 2e1cc3c11c70..51e833fd58c3 100644 --- a/trunk/tools/perf/util/trace-event-perl.c +++ b/trunk/tools/perf/util/trace-event-perl.c @@ -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)