How to enable ETM/ETB on Qualcom chipset
Hi,
Anybody used ETM/ETB on Qualcomm, e.g. 8974? Which CONFIGs need to be turned on? And how to decode the buffer afterwards?
Thanks,
Lijun
HW assisted tracing is currently not supported upstream on a core like the 8974. There is currently a lot of work being done to change that but things aren't finished yet.
Support for the 8974 can be found here [1] and here [2] as work in progress.
For a free trace decoding "ptm2human" does a pretty good job. Tools like DS-5 and Trace32 will work flawlessly.
Mathieu
[1]. https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/log/?h=LNX.LA.3.7.1_rb3.2
[2]. https://git.linaro.org/kernel/coresight.git
Quoted 13 lines · Lijun Chen
Hi,
Anybody used ETM/ETB on Qualcomm, e.g. 8974? Which CONFIGs need to be turned on? And how to decode the buffer afterwards?
Thanks,
Lijun_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Resent with plain text mode.
Thanks, Mathieu.
I will keep monitoring the following links. BTW, is it going to be supported in AOSP L-series?
Regards,
Lijun
Quoted 28 lines · Mathieu Poirier
HW assisted tracing is currently not supported upstream on a core like the 8974. There is currently a lot of work being done to change that but things aren't finished yet.
Support for the 8974 can be found here [1] and here [2] as work in progress.
For a free trace decoding "ptm2human" does a pretty good job. Tools like DS-5 and Trace32 will work flawlessly.
Mathieu
[1]. https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/log/?h=LNX.LA.3.7.1_rb3.2
[2]. https://git.linaro.org/kernel/coresight.gitQuoted 13 lines · Lijun Chen
Hi,
Anybody used ETM/ETB on Qualcomm, e.g. 8974? Which CONFIGs need to be turned on? And how to decode the buffer afterwards?
Thanks,
Lijun_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 6 lines · Lijun Chen
Resent with plain text mode.
Thanks, Mathieu.
I will keep monitoring the following links. BTW, is it going to be supported in AOSP L-series?
All the work we are doing is targeting the mainline kernel. When things do go mainline you can use Linaro's LSK if you need an Android kernel.
Mathieu
Quoted 34 lines
Regards,
LijunQuoted 28 lines · Mathieu Poirier
HW assisted tracing is currently not supported upstream on a core like the 8974. There is currently a lot of work being done to change that but things aren't finished yet.
Support for the 8974 can be found here [1] and here [2] as work in progress.
For a free trace decoding "ptm2human" does a pretty good job. Tools like DS-5 and Trace32 will work flawlessly.
Mathieu
[1]. https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/log/?h=LNX.LA.3.7.1_rb3.2
[2]. https://git.linaro.org/kernel/coresight.gitQuoted 13 lines · Lijun Chen
Hi,
Anybody used ETM/ETB on Qualcomm, e.g. 8974? Which CONFIGs need to be turned on? And how to decode the buffer afterwards?
Thanks,
Lijun_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel