[RFC PATCH 00/20] Coresight integration with perf

Alexander Shishkin alexander.shishkin at linux.intel.com
Thu Oct 1 21:53:09 PDT 2015


Mathieu Poirier <mathieu.poirier at linaro.org> writes:

> On 30 September 2015 at 02:52, Alexander Shishkin
> <alexander.shishkin at linux.intel.com> wrote:
>> Mathieu Poirier <mathieu.poirier at linaro.org> writes:
>>
>>> This patchset aims to integrate configuration and control of
>>> the Coresight tracers with the perf sub-system.
>>>
>>> The goal is to use PMUs to represent tracers and the auxiliary
>>> buffer enhancement to collect processor traces.  As such a lot
>>> of work is done to move the current Coresight sysFS oriented
>>> configuration and control commands to perf's AUX API.
>>>
>>> For the time being the work concentrates on ETMv3 and ETB1.0
>>> sink buffers.  Work on ETMv4 and other type of sink buffers
>>> will follow once a foundation has been established.
>>>
>>> Enhancement to the perf command line tool can be found here [1].
>>> It is based on v4.2 but a rebase to v4.3-rcX will be available
>>> shortly.
>>>
>>> Best regards,
>>> Mathieu
>>>
>>> [1]. https://git.linaro.org/people/mathieu.poirier/coresight.git/shortlog/refs/heads/perf-v4.2
>>
>> I had a peek there -- didn't see an actual decoder for the ETM/PTM
>> binary stream or did I miss it somehow?
>
> A stream decoder is not included in this patch set but a couple of
> people are currently working on it.

Ok, thanks. Can you provide instructions in the next version on how one
can use this code to get a trace and decode it?

Regards,
--
Alex



More information about the linux-arm-kernel mailing list