]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto/5.0: fix systemtap for arm
authorBruce Ashfield <bruce.ashfield@gmail.com>
Fri, 8 Mar 2019 19:31:48 +0000 (14:31 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Mar 2019 14:41:20 +0000 (14:41 +0000)
commit8a3cc10c2deb933866e384b326d730d17a49a269
tree8b562b7e618144d3f7660977aef0841f3f98db25
parent3a23e094c4189af878e467f1636aea63955e250d
linux-yocto/5.0: fix systemtap for arm

We need to enable the arm unwinder for systemtap to work out of the
box:

  root@qemuarm:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp
  [ 1600.955262] stap_2097: loading out-of-tree module taints kernel.
  hello world

This option is useful for much more than systemtap, so it is a good
idea to have on in the base configs. It make the image slightly larger,
but has no performance impacts.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-rt_5.0.bb
meta/recipes-kernel/linux/linux-yocto-tiny_5.0.bb
meta/recipes-kernel/linux/linux-yocto_5.0.bb