Re: [PATCH] perf, stat: Add --pre and --post command

2012-10-23 Thread Ingo Molnar
* Peter Zijlstra wrote: > 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/ >

[PATCH] perf, stat: Add --pre and --post command

2012-10-23 Thread Peter Zijlstra
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/

[PATCH] perf, stat: Add --pre and --post command

2012-10-23 Thread Peter Zijlstra
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/

Re: [PATCH] perf, stat: Add --pre and --post command

2012-10-23 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: 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