[RFC PATCH 00/20] Coresight integration with perf

Mathieu Poirier mathieu.poirier at linaro.org
Fri Oct 2 08:27:51 PDT 2015


On 1 October 2015 at 22:53, Alexander Shishkin
<alexander.shishkin at linux.intel.com> wrote:
> 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?

I'm afraid it won't be ready for the next version.  I will publish
instructions as soon as the code is mature enough.

>
> Regards,
> --
> Alex



More information about the linux-arm-kernel mailing list