Dear Leo,
Very thanks for your replaying.
Leo Yan leo.yan@linaro.org 於 2020年6月10日 週三 上午11:15寫道:
Hi,
On Wed, Jun 10, 2020 at 10:19:35AM +0800, H MJ wrote:
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?
No, I think Mathieu suggested you to use the mainline kernel completely, for building both kernel and 'tools/perf'.
Is it the same as directly using the 'tools/perf' in the last mainline kernel with the opencsd lib ?
perf-opencsd is relative old and it might be incompatible with the mainline kernel (e.g. if you are using kernel image from perf-opencsd and using perf tool from mainline kernel, it's likely not work).
I've tried directly compile the last mainline kernel and its perf, but its perf cannot fetch the cs_etm event. (coresight). After that, I additional included the opencsd lib (only opencsd lib, not perf-opencsd), but it happened "parser error" and "unknown term".
orz...
Thanks, Leo