Dear Mathieu,

Big thanks for this replaying.

Did you mean directly use the folder 'tools/perf' in perf-opencsd to replace the folder 'tools/perf' in laste mainline kernel.

Big Thanks,
BRs,
Eric




Mathieu Poirier <mathieu.poirier@linaro.org> 於 2020年6月9日 週二 下午11:36寫道:
On Tue, 9 Jun 2020 at 07:11, H MJ <eric.mjh123@gmail.com> wrote:
>
> Dears,
>
> I am beginner of using opencsd-perf to study the coresight.
> My testing platform is Qcom smart phone (SDM845).
>
> I've successful build the opencsed lib and perf-opencsd  (both are master branch)
> https://github.com/Linaro/OpenCSD
> https://github.com/Linaro/perf-opencsd

The perf-opencsd repository is obsolete and no longer supported.
Please use the latest mainline kernel.

Thanks,
Mathieu

>
> I can find some devices name like these, ( when executing `ls /sys/bus/coresight/devices/`)
> ..., coresight-stm, coresight-tmc-etf, coresight-tmc-etr, coresight-ssc-etm0, ...
>
> However, when I using the commands, I got the error.
> 1. perfcsd record -e cs_etm/coresight-tmc-etf/ --per-thread ls
> ==>  event syntax error: 'cs_etm/coresight-tmc-etf/' \___ unknown term
> 2. perfcsd record -e cs_etm/@coresight-tmc-etf/ --per-thread ls
> ==>  event syntax error: 'cs_etm/coresight-tmc-etf/' \___ parser error
>
> I've tried any solutions as many as possible, but I still cannot solve this problem.
> Does perf-opencsd support the android?
>
> Can you help me?
>
> Thank you very much.
>
> Eric
> _______________________________________________
> CoreSight mailing list
> CoreSight@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/coresight