AnsweredAssumed Answered

How to enable a ftrace function on L3.14.28 BSP for i.MX6DL

Question asked by yuuki on Aug 19, 2018
Latest reply on Aug 27, 2018 by Artur Petukhov

Dear all,

 

We want to implement ftrace function in L3.14.28 Linux BSP.
(bb file is based on the fsl-image-gui.bb)
However I cannot enable the ftrace function.

Would you tell me how to enable the ftrace function?

 

We refer to the following URL.

 - https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling#General_Setup
 - https://yoctoproject.org/docs/1.7/profile-manual/profile-manual.html

 

We added the following line to conf/local.conf.
  $ EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile"
  $ PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'

 

And then bitbak is executed.
However, tracing folder is not made under /sys/kernel/debug/.

 

We suspect that a procedure is not enough.
If there is the package which should be added to IMAGE_INSTALL_append more, would you tell us it?

 

On the other hand, we exclude the following item from IMAGE_INSTALL_append
 - packagegroup-fsl-tools-testapps
 - packagegroup-fsl-tools-benchmark


May we have any advice?

Best Regards,
Yuuki

Outcomes