diff options
author | Peter Zijlstra <peterz@infradead.org> | 2012-10-23 13:40:14 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-26 15:22:25 +0200 |
commit | 1f16c5754d3a4008c29f3bf67b4f1271313ba385 (patch) | |
tree | 365f7e0630b149593d81f56edc5b3f34cf2a3081 /fs/reiserfs | |
parent | perf inject: Mark a dso if it's used (diff) | |
download | linux-1f16c5754d3a4008c29f3bf67b4f1271313ba385.tar.xz linux-1f16c5754d3a4008c29f3bf67b4f1271313ba385.zip |
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 <a.p.zijlstra@chello.nl>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Stephane Eranian <eranian@gmail.com>
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 <acme@redhat.com>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions