Jetpack 5.1.3 perf trace无法正常使用

我们的Agx xavier和Orin升级到JP5.1.3后,基于JP5.1.3内核编译的perf无法使用trace功能,编译方式:将kernel源码push到xavier/Orin上,cd tools/perf & make :


编译出perf后,使用sudo ./perf trace -p $pid 没有任何输出:

Hi,
Please share which Jetpack version the tool works. 5.1.2 or 5.1.1?

We don’t have much experience about the tool. Would also see if other users can share experience. Probably certain configs are enabled or disabled, triggering the issue.

感谢回复,我用5.0.2编译的perf,在JP5.1.2跟5.1.3上运行perf trace有输出信息,但是在JP5.1.3上perf record&perf script -i 后的堆栈信息部分不显示函数名;在JP5.1.3上编译的perf,perf record & perf script -i就是正常的。但是perf trace没有输出信息;

Hi,
We think this is due to certain kernel configs. Please check

$ zcat /proc/config.gz

and compare Jetpack 5.0.2 to 5.1.3. See which config(s) may be related and can enable the configs for a try.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.