From: Peter Zijlstra Date: Tue, 23 Oct 2012 11:40:14 +0000 (+0200) Subject: perf stat: Add --pre and --post command X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f16c5754d3a4008c29f3bf67b4f1271313ba385;p=pandora-kernel.git perf stat: Add --pre and --post command In order to measure kernel builds, one has to do some pre/post cleanup work in order to do the repeat build. So provide --pre and --post command hooks to allow doing just that. perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/clean' \ -- make -s -j64 O=defconfig-build/ bzImage Signed-off-by: Peter Zijlstra Acked-by: Ingo Molnar Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1350992414.13456.5.camel@twins [ committer note: Added respective entries in Documentation/perf-stat.txt ] Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed