On Fri, Mar 26, 2021 at 02:25:22PM +0200, James Clark wrote:
On 24/03/2021 14:32, Szymanski, Pawel wrote:
Hello,
I am trying to run trace capturing from Coresight on N1 SDP using perf as described here: https://github.com/Linaro/OpenCSD/blob/master/HOWTO.md I was able to gather the traces, but when I wanted to get the python script to get more human readable output as described in section https://github.com/Linaro/OpenCSD/blob/master/HOWTO.md#trace-decoding-with-p..., I found that the cs-trace-disasm.py Is missing in my system.
Do you know where I can find the file?
Hi Pawel,
There are a few results on Google to submitted patches where the script is available like: https://patchwork.kernel.org/project/linux-arm-kernel/patch/1527497103-3593-... But I'm not sure why it wasn't merged.
Thanks for James covering the question. Since there have concern for the patch for not covering all decoding scenarios, the patch was dropped. At last year, Al updated the patch in the link:
https://lists.linaro.org/pipermail/coresight/2020-May/004010.html
I missed to continue to upstream the patch. Maybe we need to consider to upstream it. This script was mentioned for several time on the mailing list, so it would be useful for some debuggings.
Thanks, Leo