Messages in this thread | | | Date | Tue, 23 Oct 2012 13:43:42 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] perf, stat: Add --pre and --post command |
| |
* Peter Zijlstra <peterz@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 O=defconfig-build/ clean' -- make -s -j64 O=defconfig-build/ bzImage > > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
looks useful!
Acked-by: Ingo Molnar <mingo@kernel.org>
Thanks,
Ingo
| |