Re: [PATCH 10/38] perf tools: Pass session arg to perf_event__preprocess_sample()

From: Arnaldo Carvalho de Melo
Date: Tue Mar 03 2015 - 08:59:38 EST


Em Tue, Mar 03, 2015 at 12:07:22PM +0900, Namhyung Kim escreveu:
> The perf_event__preprocess_sample() translates a given ip into a
> matching symbol. To do that, it first finds a corresponding thread
> and map in the current thread tree. But for indexed data files, it
> needs to find a thread (and map) with slightly different APIs using
> timestamp. So it needs a way to know whether this session deals with
> an indexed data file or not.

I need to look into this, but in general, I'm trying to _remove_
accesses to perf_session :-)

- Arnaldo
--
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/