perf stat: Add per processor socket count aggregation
[firefly-linux-kernel-4.4.55.git] / tools / perf / Documentation / perf-stat.txt
index 5289da3344e954c6226e41d56481bfa5311d5a6c..faf4f4feebccf239ef02d198900c8bc0be54afd2 100644 (file)
@@ -116,9 +116,16 @@ perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/clean' -- m
 
 -I msecs::
 --interval-print msecs::
-       print count deltas every N milliseconds (minimum: 100ms)
+       Print count deltas every N milliseconds (minimum: 100ms)
        example: perf stat -I 1000 -e cycles -a sleep 5
 
+--aggr-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
+socket number and the number of online processors on that socket. This is
+useful to gauge the amount of aggregation.
+
 EXAMPLES
 --------