Skip to main content

Building kernel with trace32 linux patch for Linux-aware tracing on S32R45 - Community / Trace Analysis - Lauterbach Support

0

Building kernel with trace32 linux patch for Linux-aware tracing on S32R45 Awaiting Agent

I am working on Linux-aware tracing on NXP S32R45evb using 'Trace for Arm-ETM via Serial PrePro' along with 'Power Debug II' and 'Power Trace II'
I am facing the following issues:
1. In training_arm_etm.pdf under section 'Context ID Packet (OS+MMU)' it is recommended to add Linux patch to get performance information on threads, which Linux patch it is referring to?
2. Tried to build kernel considering 'T32\demo\arm\kernel\linux\etc\t32pager' as a mentioned Linux patch, however code snippet of exit.c mentioned in notes.txt does not match with my kernel/exit.c. kernel version used is 'Linux 5.15.129-rt67+gcdac0506874b aarch64'
Note: I am able to debug process running on S32R45evb .
Kindly find attachments for your reference

Comment (1)

Khaled Jmal
Hello, 1. you just need to enable CONFIG_PID_IN_CONTEXTIDR in the kernel configuration. The patch is not needed any more. 2. The t32pager patch has not been updated to support newer kernel versions. Can you please tell me why you need the t32pager functionality? Regards, Khaled

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image