From: Peter Zijlstra <peterz@infradead.org>
To: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>,
Ingo Molnar <mingo@kernel.org>, Paul Mackerras <paulus@samba.org>,
Namhyung Kim <namhyung.kim@lge.com>,
LKML <linux-kernel@vger.kernel.org>, Jiri Olsa <jolsa@redhat.com>,
Minchan Kim <minchan@kernel.org>
Subject: Re: [PATCH] perf stat: Pass PERF_STAT_RUN environment variable for each run
Date: Thu, 17 Jul 2014 10:26:13 +0200 [thread overview]
Message-ID: <20140717082613.GF19379@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1405585266-28268-1-git-send-email-namhyung@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 437 bytes --]
On Thu, Jul 17, 2014 at 05:21:06PM +0900, Namhyung Kim wrote:
> When perf stat runs multiple times via -r option, it's sometimes
> useful for a workload to know which run it executing. So pass new
> PERF_STAT_RUN environment variable to the workload for each run
> (starting from 1).
This seems counter intuitive, runs should be _identical_ otherwise
there's no point. That means the workload should very much _not_ know
these things.
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-07-17 8:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-17 8:21 [PATCH] perf stat: Pass PERF_STAT_RUN environment variable for each run Namhyung Kim
2014-07-17 8:26 ` Peter Zijlstra [this message]
2014-07-17 8:31 ` Namhyung Kim
2014-07-17 8:40 ` Peter Zijlstra
2014-07-17 13:09 ` Arnaldo Carvalho de Melo
2014-07-18 5:06 ` Namhyung Kim
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=20140717082613.GF19379@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=acme@kernel.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=minchan@kernel.org \
--cc=mingo@kernel.org \
--cc=namhyung.kim@lge.com \
--cc=namhyung@kernel.org \
--cc=paulus@samba.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