perf stat: Fix tool option consistency: rename -S/--scale to -c/--scale
authorBrice Goglin <Brice.Goglin@inria.fr>
Fri, 7 Aug 2009 08:18:39 +0000 (10:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 9 Aug 2009 10:54:37 +0000 (12:54 +0200)
We want to use a coherent flag for -S/--stat across all tools,
so free up -S in perf stat.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus@samba.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Documentation/perf-stat.txt
tools/perf/builtin-stat.c

index 0d74346d21abd6c032194a87fc4e0cc0697f6a09..484080dd5b6faea6397949065f989248b9574604 100644 (file)
@@ -40,7 +40,7 @@ OPTIONS
 -a::
         system-wide collection
 
--S::
+-c::
         scale counter values
 
 EXAMPLES
index f9510eeeb6c7a3f7e832abecbc77d102644c6141..b4b06c7903e10085de24250224a197a8182c27d3 100644 (file)
@@ -496,7 +496,7 @@ static const struct option options[] = {
                    "stat events on existing pid"),
        OPT_BOOLEAN('a', "all-cpus", &system_wide,
                    "system-wide collection from all CPUs"),
-       OPT_BOOLEAN('S', "scale", &scale,
+       OPT_BOOLEAN('c', "scale", &scale,
                    "scale/normalize counters"),
        OPT_BOOLEAN('v', "verbose", &verbose,
                    "be more verbose (show counter open errors, etc)"),