[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121023114342.GB29010@gmail.com>
Date: Tue, 23 Oct 2012 13:43:42 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Arnaldo Carvalho de Melo <acme@...radead.org>,
Stephane Eranian <eranian@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf, stat: Add --pre and --post command
* Peter Zijlstra <peterz@...radead.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@...llo.nl>
looks useful!
Acked-by: Ingo Molnar <mingo@...nel.org>
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists