lkml.org 
[lkml]   [2012]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-10-23 14:21    [W:0.164 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site