Re: [PATCH V6 08/17] perf tools: Add Intel PT support

From: Adrian Hunter
Date: Fri Jun 26 2015 - 09:50:18 EST


On 26/06/15 16:41, Arnaldo Carvalho de Melo wrote:
>> Another thing, the intel_bts implementation does not support
>> "instructions" samples because there is no timing information to
>> use to create periodic samples. But callchains are added only
>> to "instructions" samples so there are no callchains in 'perf report'
>> for intel_bts. The call information is still available for
>
> Humm, so IOW, what you say is that we should refuse to run 'record' when
> asking for callchains and intel_bts?

'record' can record other events at the same time which can have callchains.
e.g.

perf record -g --per-thread -e intel_bts//u,branch-misses:u ls

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