The talk is focused on how the hardware trace features on many SoCs can be practically used by ordinary software developers to investigate Linux performance issues. We'll describe ARM's CoreSight trace technology in enough detail to make the talk useful to people not familiar with hardware trace, but the talk will focus on the practical application of hardware trace to Linux - e.g. how trace can be set up from within the OS, how hardware instrumentation trace (STM) can be used to support existing Linux trace mechanisms such as ftrace, and how hardware-based instruction trace can be configured and visualized to solve problems out of reach of these software-based mechanisms. We'll look at some of the practical issues with using hardware trace and how these can be dealt with.
The second part of the presentation will focus on the new framework proposed by Linaro to support Coresight and hardware assisted tracing in the Linux kernel. More specifically we will go over the solution, the current state of upstreaming and the challenges still ahead. If time permits we will see an example of HW trace decoding using the framework in the Linux kernel.