[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52614AB7.3020900@intel.com>
Date: Fri, 18 Oct 2013 17:50:31 +0300
From: Adrian Hunter <adrian.hunter@...el.com>
To: David Ahern <dsahern@...il.com>
CC: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
Frederic Weisbecker <fweisbec@...il.com>,
Jiri Olsa <jolsa@...hat.com>, Mike Galbraith <efault@....de>,
Namhyung Kim <namhyung@...il.com>,
Paul Mackerras <paulus@...ba.org>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 19/19] perf tools: allow non-matching sample types
On 18/10/13 17:25, David Ahern wrote:
> On 10/18/13 6:29 AM, Adrian Hunter wrote:
>> For kernels that do not support PERF_SAMPLE_IDENTIFIER,
>> sample types need not be identical to determine
>> the sample id from the event. Only the position
>> of the sample id needs to be the same.
>>
>> Compatible sample types are ones in which the bits
>> defined by PERF_COMPAT_MASK are the same.
>> 'perf_evlist__config()' forces sample types to be
>> compatible on that basis.
>
> Arnaldo and I have discussed adding callchain handling to perf-trace. To do
> that we only need stack data (including IP) for one event -- eg,
> raw_syscalls:sys_enter. That means raw_syscalls:sys_enter and
> raw_syscalls:sys_exit will have different attributes set - including ones in
> the MASK.
So how do you know which sample is which?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists