Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf stat: Fix tool option consistency: rename -S/--scale to -c/--scale

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>

authored by

Brice Goglin and committed by
Ingo Molnar
b26bc5a7 94cb9e38

+2 -2
+1 -1
tools/perf/Documentation/perf-stat.txt
··· 40 40 -a:: 41 41 system-wide collection 42 42 43 - -S:: 43 + -c:: 44 44 scale counter values 45 45 46 46 EXAMPLES
+1 -1
tools/perf/builtin-stat.c
··· 496 496 "stat events on existing pid"), 497 497 OPT_BOOLEAN('a', "all-cpus", &system_wide, 498 498 "system-wide collection from all CPUs"), 499 - OPT_BOOLEAN('S', "scale", &scale, 499 + OPT_BOOLEAN('c', "scale", &scale, 500 500 "scale/normalize counters"), 501 501 OPT_BOOLEAN('v', "verbose", &verbose, 502 502 "be more verbose (show counter open errors, etc)"),