小编gem*_*mad的帖子

如何使用 yocto 项目在内核中生成 /sys/kernel/debug/tracing 文件夹?

我想perf在 Renesas 目标上使用,我配置了 yocto“local.conf”,如本链接所示

#avoid stripping binaries 
INHIBIT_PACKAGE_STRIP = "1"

#add the debug information
EXTRA_IMAGE_FEATURES= "debug-tweaks tools-debug dbg-pkgs tools-profile"

#format the debug info into a readable format for PERF
PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
Run Code Online (Sandbox Code Playgroud)

perf正在工作,但我需要监视需要使用的上下文切换perf timechart以及依赖于性能事件的其他命令,但这些命令找不到此路径 "/sys/kernel/debug/tracing/events" 。

我应该怎么做才能用我的内核编译这个文件夹及其文件?

debugging embedded linux-kernel perf yocto

3
推荐指数
1
解决办法
5358
查看次数

标签 统计

debugging ×1

embedded ×1

linux-kernel ×1

perf ×1

yocto ×1