Sample Header Ad - 728x90

How do I generate the /sys/kernel/debug/tracing folder in kernel with yocto project?

7 votes
3 answers
11941 views
I was tying to use perf on Renesas target and I configured the yocto "local.conf" as showed in [this link](https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling#General_Setup) . #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' perf is working but I need to monitor the context switches which require to use perf timechart and other commands that depends on perf-events, but the commands can't find this path "/sys/kernel/debug/tracing/events" . What should I do in order to get this folder and its files compiled with my kernel?
Asked by gemad (83 rep)
Jul 10, 2017, 08:58 AM
Last activity: Jun 2, 2023, 06:00 AM