mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>,
	Stephane Eranian <eranian@gmail.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] perf, stat: Add --pre and --post command
Date: Tue, 23 Oct 2012 13:43:42 +0200	[thread overview]
Message-ID: <20121023114342.GB29010@gmail.com> (raw)
In-Reply-To: <1350992414.13456.5.camel@twins>


* 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

  reply	other threads:[~2012-10-23 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-23 11:40 Peter Zijlstra
2012-10-23 11:43 ` Ingo Molnar [this message]
2012-10-26 15:12 ` [tip:perf/core] perf " tip-bot for Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121023114342.GB29010@gmail.com \
    --to=mingo@kernel.org \
    --cc=acme@infradead.org \
    --cc=eranian@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome