lkml.org 
[lkml]   [2010]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 05/12] perf trace/scripting: remove check-perf-trace from listed scripts
    On Wed, Jan 27, 2010 at 02:27:56AM -0600, Tom Zanussi wrote:
    > The check-perf-trace script only checks Perl functionality, and
    > doesn't really need to be listed as as user script anyway.
    >
    > This only removes the '-report' shell script, so although it doesn't
    > appear in the listing, the '-record' shell script and the check perf
    > trace perl script itself is still available and can still be run
    > manually as such:
    >
    > $ libexec/perf-core/scripts/perl/bin/check-perf-trace-record
    > $ perf trace -s libexec/perf-core/scripts/perl/check-perf-trace.pl
    >
    > Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
    > ---
    > .../perf/scripts/perl/bin/check-perf-trace-record | 7 +------
    > .../perf/scripts/perl/bin/check-perf-trace-report | 6 ------
    > 2 files changed, 1 insertions(+), 12 deletions(-)
    > delete mode 100644 tools/perf/scripts/perl/bin/check-perf-trace-report
    >
    > diff --git a/tools/perf/scripts/perl/bin/check-perf-trace-record b/tools/perf/scripts/perl/bin/check-perf-trace-record
    > index c7ec5de..f439cc3 100644
    > --- a/tools/perf/scripts/perl/bin/check-perf-trace-record
    > +++ b/tools/perf/scripts/perl/bin/check-perf-trace-record
    > @@ -1,7 +1,2 @@
    > #!/bin/bash
    > -perf record -c 1 -f -a -M -R -e kmem:kmalloc -e irq:softirq_entry
    > -
    > -
    > -
    > -
    > -
    > +perf record -c 1 -f -a -M -R -e kmem:kmalloc -e irq:softirq_entry -e kmem:kmalloc



    Looks like kmem:kmalloc has been appended twice incidentally there.
    No problem, I'll remove it.

    Thanks.



    \
     
     \ /
      Last update: 2010-02-22 02:53    [W:3.816 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site