]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
perf stat: Rename --aggr-socket to --per-socket
authorStephane Eranian <eranian@google.com>
Thu, 14 Feb 2013 12:57:28 +0000 (13:57 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Mar 2013 19:09:24 +0000 (16:09 -0300)
To make it more obvious what this option does as suggested by Andi on
LKML.

Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1360846649-6411-3-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-stat.txt
tools/perf/builtin-stat.c

index 23e587ad549e834522f180abf91b7a7dfb9406fd..46027e1aedb74b3da97ea01979e15eabc7e05397 100644 (file)
@@ -119,10 +119,10 @@ perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/clean' -- m
        Print count deltas every N milliseconds (minimum: 100ms)
        example: perf stat -I 1000 -e cycles -a sleep 5
 
---aggr-socket::
+--per-socket::
 Aggregate counts per processor socket for system-wide mode measurements.  This
 is a useful mode to detect imbalance between sockets.  To enable this mode,
-use --aggr-socket in addition to -a. (system-wide).  The output includes the
+use --per-socket in addition to -a. (system-wide).  The output includes the
 socket number and the number of online processors on that socket. This is
 useful to gauge the amount of aggregation.
 
index ded34fc4df4fd9024620081bb673387a67928f67..6f6ea931ab7692011f915bee1a802c6d62c50674 100644 (file)
@@ -1370,7 +1370,7 @@ int cmd_stat(int argc, const char **argv, const char *prefix __maybe_unused)
                        "command to run after to the measured command"),
        OPT_UINTEGER('I', "interval-print", &interval,
                    "print counts at regular interval in ms (>= 100)"),
-       OPT_SET_UINT(0, "aggr-socket", &aggr_mode,
+       OPT_SET_UINT(0, "per-socket", &aggr_mode,
                     "aggregate counts per processor socket", AGGR_SOCKET),
        OPT_END()
        };