Re: [PATCH 01/11] perf intel-pt: Add new packets for PEBS via PT

From: Adrian Hunter
Date: Wed Jun 12 2019 - 08:58:06 EST

On 12/06/19 3:41 PM, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jun 12, 2019 at 08:58:00AM +0300, Adrian Hunter escreveu:
>> On 12/06/19 3:09 AM, Arnaldo Carvalho de Melo wrote:
>>> Em Mon, Jun 10, 2019 at 10:27:53AM +0300, Adrian Hunter escreveu:
>>>> Add 3 new packets to supports PEBS via PT, namely Block Begin Packet (BBP),
>>>> Block Item Packet (BIP) and Block End Packet (BEP). PEBS data is encoded
>>>> into multiple BIP packets that come between BBP and BEP. The BEP packet
>>>> might be associated with a FUP packet. That is indicated by using a
>>>> separate packet type (INTEL_PT_BEP_IP) similar to other packets types with
>>>> the _IP suffix.
>>>> Refer to the Intel SDM for more information about PEBS via PT.
>>> In these cases would be nice to provide an URL and page number, for
>>> convenience.
>> Intel SDM:
>> May 2019 version: Vol. 3B PEBS output to Intel Processor Trace
> Thanks! I'll add to that cset.
> What about the kernel bits?

Awaiting V2, here is a link to the patches:

There is also still a few more tools changes dependent upon the kernel patches.