public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Adrian Hunter <adrian.hunter@intel.com>,
	Ingo Molnar <mingo@redhat.com>,
	linux-kernel@vger.kernel.org, David Ahern <dsahern@gmail.com>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Jiri Olsa <jolsa@redhat.com>, Mike Galbraith <efault@gmx.de>,
	Namhyung Kim <namhyung@gmail.com>,
	Paul Mackerras <paulus@samba.org>,
	Stephane Eranian <eranian@google.com>
Subject: Re: [PATCH 1/3] perf: add a dummy software event to keep tracking
Date: Mon, 26 Aug 2013 18:16:24 +0200	[thread overview]
Message-ID: <20130826161624.GC10002@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <20130826135305.GA1885@ghostprotocols.net>

On Mon, Aug 26, 2013 at 10:53:05AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Aug 26, 2013 at 04:15:34PM +0300, Adrian Hunter escreveu:
> > On 07/08/13 16:30, Adrian Hunter wrote:
> > > When an event is disabled the "tracking" events
> > > selected by the 'mmap', 'comm' and 'task' bits of
> > > struct perf_event_attr, are also disabled.  However,
> > > the information those events provide is necessary to
> > > resolve symbols for when the main event is re-enabled.
> > > 
> > > The "tracking" events can be kept enabled by putting
> > > them on another event, but that requires an event
> > > that otherwise does nothing.  A new software event
> > > PERF_COUNT_SW_DUMMY is added for that purpose.
> > > 
> > > Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> > 
> > Any comments?
> 
> Ok with me, Peter?

Yeah I suppose so.. I don't really like it and I've made a start at
looking at the problem twice now but never got anywhere, so sure lets go
with this.

Acked-by: Peter Zijlstra <peterz@infradead.org>

  reply	other threads:[~2013-08-26 16:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07 13:30 [PATCH 0/3] perf: add a dummy software event to keep tracking Adrian Hunter
2013-08-07 13:30 ` [PATCH 1/3] " Adrian Hunter
2013-08-26 13:15   ` Adrian Hunter
2013-08-26 13:53     ` Arnaldo Carvalho de Melo
2013-08-26 16:16       ` Peter Zijlstra [this message]
2013-08-07 13:30 ` [PATCH 2/3] perf tools: add support for PERF_COUNT_SW_DUMMY Adrian Hunter
2013-08-07 13:30 ` [PATCH 3/3] perf tools: add 'keep tracking' test Adrian Hunter
2013-08-13  2:33   ` Namhyung Kim
2013-08-26 13:13     ` Adrian Hunter
2013-08-13  2:28 ` [PATCH 0/3] perf: add a dummy software event to keep tracking 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=20130826161624.GC10002@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=acme@ghostprotocols.net \
    --cc=adrian.hunter@intel.com \
    --cc=dsahern@gmail.com \
    --cc=efault@gmx.de \
    --cc=eranian@google.com \
    --cc=fweisbec@gmail.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=namhyung@gmail.com \
    --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