From: Arnaldo Carvalho de Melo Date: Mon, 15 Mar 2021 14:27:24 +0000 (-0300) Subject: perf stat: Elaborate use cases for the -n/--null command line option X-Git-Tag: v5.15~1215^2~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a03af3ee399e87934e18ae720dda72c52f0050c;p=platform%2Fkernel%2Flinux-starfive.git perf stat: Elaborate use cases for the -n/--null command line option The existing text was way too terse, pick the intended usage from the cset that introduced this option. Twitter: https://twitter.com/_monoid/status/1371461130175004672?s=20 Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt index 08a1714494f8..3055aad38d46 100644 --- a/tools/perf/Documentation/perf-stat.txt +++ b/tools/perf/Documentation/perf-stat.txt @@ -142,7 +142,10 @@ Do not aggregate counts across all monitored CPUs. -n:: --null:: - null run - don't start any counters +null run - Don't start any counters. + +This can be useful to measure just elapsed wall-clock time - or to assess the +raw overhead of perf stat itself, without running any counters. -v:: --verbose::