Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b26bc5a7 authored by Brice Goglin's avatar Brice Goglin Committed by Ingo Molnar
Browse files

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: default avatarBrice Goglin <Brice.Goglin@inria.fr>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus@samba.org
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 94cb9e38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ OPTIONS
-a::
        system-wide collection

-S::
-c::
        scale counter values

EXAMPLES
+1 −1
Original line number Diff line number Diff line
@@ -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)"),