Skip to content

Commit d430495

Browse files
Stephane Eranianacmel
authored andcommitted
perf stat: Rename --aggr-socket to --per-socket
To make it more obvious what this option does as suggested by Andi on LKML. Signed-off-by: Stephane Eranian <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 86ee6e1 commit d430495

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/perf/Documentation/perf-stat.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/clean' -- m
119119
Print count deltas every N milliseconds (minimum: 100ms)
120120
example: perf stat -I 1000 -e cycles -a sleep 5
121121

122-
--aggr-socket::
122+
--per-socket::
123123
Aggregate counts per processor socket for system-wide mode measurements. This
124124
is a useful mode to detect imbalance between sockets. To enable this mode,
125-
use --aggr-socket in addition to -a. (system-wide). The output includes the
125+
use --per-socket in addition to -a. (system-wide). The output includes the
126126
socket number and the number of online processors on that socket. This is
127127
useful to gauge the amount of aggregation.
128128

tools/perf/builtin-stat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ int cmd_stat(int argc, const char **argv, const char *prefix __maybe_unused)
13701370
"command to run after to the measured command"),
13711371
OPT_UINTEGER('I', "interval-print", &interval,
13721372
"print counts at regular interval in ms (>= 100)"),
1373-
OPT_SET_UINT(0, "aggr-socket", &aggr_mode,
1373+
OPT_SET_UINT(0, "per-socket", &aggr_mode,
13741374
"aggregate counts per processor socket", AGGR_SOCKET),
13751375
OPT_END()
13761376
};

0 commit comments

Comments
 (0)