Hi,
We've successfully added CoreSight components to the i.MX 8MM board and can record the trace with the following command:
perf record -e cs_etm/@tmc_etr0/u --per-thread -- /bin/ls
However when we try to view the trace data, we get the following error:
$ perf report -D -i perf.data --stdio
0x178 [0x148]: event: 70
.
. ... raw event: size 328 bytes
................
. 00b0: cc178 [0x148]: failed to process type: 70 [Operation not permitted]
Error:
failed to process sample
When we referred this message in OpenCSD documentation we found that this is caused by "a perf tool which is not using OpenCSD library"
So, we would like to know,
NOTE: Adding IMAGE_INSTALL_append = " opencsd" gives the following error (Nothing RPROVIDES 'opencsd').
Parsing recipes: 100% |########################################| Time: 0:00:50
ERROR: Nothing RPROVIDES 'opencsd' (but /yocto/zeus/sources/poky/meta/recipes-core/images/core-image-base.bb RDEPENDS on or otherwise requires it)
ERROR: Required build target 'core-image-base' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-base', 'opencsd']
Hi kanimozhi_t
one can look at OpenCSD documentation
https://github.com/Linaro/OpenCSD
https://github.com/Linaro/OpenCSD/blob/master/HOWTO.md
for yocto issue may be posted on meta-fsl-arm mailing list
https://lists.yoctoproject.org/g/meta-freescale
Best regards
igor
Hi @igorpadykov
Thanks for replying.
I've posted in meta-fsl mailing list as suggested - perf with OpenCSD on Yocto Zeus - meta-freescale and waiting for a reply there.
In the meantime, I would like to get your views on the following questions:
Hi Kanimozhi
for supported features one can look at nxp official linux documentation
Best regards
igor