perf diff: Fix displacement and modules options short flag
authorShawn Bohrer <shawn.bohrer@gmail.com>
Wed, 1 Dec 2010 01:57:11 +0000 (19:57 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Dec 2010 20:22:45 +0000 (18:22 -0200)
The --displacement and --modules options to perf diff both use -m as a
short flag.  Change --displacement to use -M since other perf commands
use -m, --modules.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1291168642-11402-4-git-send-email-shawn.bohrer@gmail.com>
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c

index fca1d4402910ab13a6f7aa45299e31c0289cb27c..221b823bc26fc6826a46904a9251cbb5422c64da 100644 (file)
@@ -173,7 +173,7 @@ static const char * const diff_usage[] = {
 static const struct option options[] = {
        OPT_INCR('v', "verbose", &verbose,
                    "be more verbose (show symbol address, etc)"),
-       OPT_BOOLEAN('m', "displacement", &show_displacement,
+       OPT_BOOLEAN('M', "displacement", &show_displacement,
                    "Show position displacement relative to baseline"),
        OPT_BOOLEAN('D', "dump-raw-trace", &dump_trace,
                    "dump raw trace in ASCII"),