On 2 August 2017 at 07:12, yoma sophian sophian.yoma@gmail.com wrote:
hi mathieu:
2017-07-31 22:31 GMT+08:00 Mathieu Poirier mathieu.poirier@linaro.org:
On 30 July 2017 at 10:05, yoma sophian sophian.yoma@gmail.com wrote:
hi Mathieu:
But I have some question about trace collection and decode flow
- for trace collection, shall we ask perf to save some other places? such as USB or somewhere alse
We welcome patches.
We cross-compile perf of below branch git clone -b perf-opencsd-master https://github.com/Linaro/OpenCSD.git perf-opencsd-master and try run it on our embedded system. But we get below error message while executing, ======================================================= # ./perf record -e cs_etm/@f0106000.etf/ --per-thread uname invalid or unsupported event: 'cs_etm/@f0106000.etf/' Run 'perf list' for a list of valid events
Usage: perf record [<options>] [<command>] or: perf record [<options>] -- <command> [<options>]
-e, --event <event> event selector. use 'perf list' to list
available events #
My first guess would be that variable CSTRACE_PATH wasn't defined when compiling the perf tools, and as such the functionality is not enabled. The HOWTO.md on gitHub explains how to do all that.
=========================================================
And CoreSight blocks identified by the framework on our platform are like below:
# ls /sys/bus/coresight/devices/ f0101000.etr f0106000.etf f013d000.etm f0104000.funnel f013c000.etm
#
Did we check out wrong version of perf-opencsd-master for recording?
thanks for your kind help in advance,