X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=tools%2Fperf%2FDocumentation%2Fperf-stat.txt;h=cf0c3107e06e4737fd4c2fda1f3f81a2a4a08e95;hb=3c2e81ef344a90bb0a39d84af6878b4aeff568a2;hp=2fa173b51970614c380d260b52aa636070bcfae1;hpb=9a64e8e0ace51b309fdcff4b4754b3649250382a;p=karo-tx-linux.git diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt index 2fa173b51970..cf0c3107e06e 100644 --- a/tools/perf/Documentation/perf-stat.txt +++ b/tools/perf/Documentation/perf-stat.txt @@ -108,6 +108,11 @@ with it. --append may be used here. Examples: 3>results perf stat --log-fd 3 -- $cmd 3>>results perf stat --log-fd 3 --append -- $cmd +--pre:: +--post:: + Pre and post measurement hooks, e.g.: + +perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/clean' -- make -s -j64 O=defconfig-build/ bzImage EXAMPLES