Re: [PATCH 1/3] perf: add a dummy software event to keep tracking
From: Peter Zijlstra
Date: Mon Aug 26 2013 - 12:16:41 EST
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@xxxxxxxxx>
> >
> > 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@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/