On 27 April 2017 at 20:16, Sebastian Pop sebpop@gmail.com wrote:
On Thu, Apr 27, 2017 at 4:36 PM, Mathieu Poirier mathieu.poirier@linaro.org wrote:
Hello Sebastian,
On 27 April 2017 at 13:45, Sebastian Pop sebpop@gmail.com wrote:
Hi,
we started looking at how to enable collection of branch traces with coresight etm on the hikey boards that are the reference platform for the android linux-4.9 work. Does somebody from Linaro have access to the description of where the coresight components are located for the hikey devices? We would appreciate help on enabling linux-perf collection of traces on the hikey.
The problem with HiKey is the APB clock... But I had patches for that not too long ago and I did get trace runs going. I'll look for them tomorrow.
George just pointed out that there is this patch: https://patchwork.kernel.org/patch/9669003/ "Add coresight DT nodes for hikey board." I will try to build the android 4.9 kernel with this patch tomorrow.
I vaguely remember reviewing that patch...
Mathieu, are you speaking about another set of patches that are needed on top of this for the APB clock?
I've attached the patches used to get traces going on HiKey on a 4.11-rc3 kernel - simply compile boot and run.
Thanks, Sebastian