Skip to contentSkip to conversation

How to enable ETM/ETB on Qualcom chipset

DISCUSSION Lijun Chen 2 participants 4 messages Sep 15, 2014 – Sep 21, 2014

lore
Share & tools
lore

Lijun Chen

author
#0 lore raw

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

#1 lore raw

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

author
#2 lore raw

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.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

#3 lore raw
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,
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.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