lkml.org 
[lkml]   [2012]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:perf/core] perf annotate: Fix usage string
    Commit-ID:  993452541796f3637da9f2e537b9333494b3b2a1
    Gitweb: http://git.kernel.org/tip/993452541796f3637da9f2e537b9333494b3b2a1
    Author: Namhyung Kim <namhyung@gmail.com>
    AuthorDate: Sun, 8 Jan 2012 02:25:30 +0900
    Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
    CommitDate: Sun, 8 Jan 2012 13:28:48 -0200

    perf annotate: Fix usage string

    The annotate command doesn't take non-option arguments.

    In fact, it can take last argument as a symbol filter though, but that's
    a special case and, IMHO, it should be discouraged in favor of the -s
    option.

    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1325957132-10600-6-git-send-email-namhyung@gmail.com
    Signed-off-by: Namhyung Kim <namhyung@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    ---
    tools/perf/builtin-annotate.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)
    diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
    index 214ba7f..3ec2496 100644
    --- a/tools/perf/builtin-annotate.c
    +++ b/tools/perf/builtin-annotate.c
    @@ -235,7 +235,7 @@ out_delete:
    }

    static const char * const annotate_usage[] = {
    - "perf annotate [<options>] <command>",
    + "perf annotate [<options>]",
    NULL
    };


    \
     
     \ /
      Last update: 2012-01-09 08:29    [from the cache]
    ©2003-2011 Jasper Spaans