summaryrefslogtreecommitdiffstats
path: root/meta/classes/remove-libtool.bbclass
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2019-06-01 14:45:39 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-02 10:23:49 +0100
commitb31ca8412c8b684a6ae34b350acda2e2109f5496 (patch)
tree7b061d20d46c375c99014603054b46385e198b0e /meta/classes/remove-libtool.bbclass
parent5e5df59066421ad988abb5e7f36eb5fcc4e82ff4 (diff)
downloadpoky-b31ca8412c8b684a6ae34b350acda2e2109f5496.tar.gz
linux-yocto/5.0: fix systemtap on arm
The following commit is part of 5.0.17+: ARM: fix function graph tracer and unwinder dependencies [ Upstream commit 503621628b32782a07b2318e4112bd4372aa3401 ] Naresh Kamboju recently reported that the function-graph tracer crashes on ARM. The function-graph tracer assumes that the kernel is built with frame pointers. We explicitly disabled the function-graph tracer when building Thumb2, since the Thumb2 ABI doesn't have frame pointers. We recently changed the way the unwinder method was selected, which seems to have made it more likely that we can end up with the function- graph tracer enabled but without the kernel built with frame pointers. Fix up the function graph tracer dependencies so the option is not available when we have no possibility of having frame pointers, and adjust the dependencies on the unwinder option to hide the non-frame pointer unwinder options if the function-graph tracer is enabled. Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org> Tested-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org> As such, we no longer have UNWINDER_ARM enabled in our ARM builds by default, since we do have FUNCTION_GRAPH_TRACER enabled in the common ftrace configuration. We disable FUNCTION_GRAPH_TRACER for ARM, which allows UNWINDER_ARM to remain enabled and hence systemtap work out of the box for our ARM reference builds. Obviously, BSPs or other users of the fragments can make a different decision, but we chose unwinder to be on by default. (From OE-Core rev: 8b8fb2e0d991c280317e28867224ed2080aa50c1) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/remove-libtool.bbclass')
0 files changed, 0 insertions, 0 deletions