From: Anton Blanchard <hidden> Date: 2009-10-18 11:23:28
A lot of hits in "setup" doesn't make much sense, so hide this symbol and
allow all the hits to end up in copy_4k_page.
Signed-off-by: Anton Blanchard <redacted>
---
Index: linux.trees.git/arch/powerpc/lib/copypage_64.S
===================================================================
From: Anton Blanchard <hidden> Date: 2009-10-18 11:24:06
Add some dummy symbols for the branches at 0xf00, 0xf20 and 0xf40,
otherwise hits end up in trap_0e which is confusing to the user.
Signed-off-by: Anton Blanchard <redacted>
---
Index: linux.trees.git/arch/powerpc/kernel/exceptions-64s.S
===================================================================
From: Anton Blanchard <hidden> Date: 2009-10-18 11:24:29
If CONFIG_PPC_ISERIES isn't defined we end up with iseries_check_pending_irqs
and do_work at the same address. perf ends up picking
iseries_check_pending_irqs which creates confusing backtraces. Hide it.
Signed-off-by: Anton Blanchard <redacted>
--
Index: linux.trees.git/arch/powerpc/kernel/entry_64.S
===================================================================
If CONFIG_PPC_ISERIES isn't defined we end up with iseries_check_pending_irqs
and do_work at the same address. perf ends up picking
iseries_check_pending_irqs which creates confusing backtraces. Hide it.
Signed-off-by: Anton Blanchard <redacted>
Just to confirm - these 3 symbol fixes are for the PowerPC tree, not for
the perf events tree, right? There's nothing perf specific about the
fixes - kgdb, systemtap and other debugging/instrumentation frameworks
will benefit from more precise symbol generation too.
Ingo
From: Anton Blanchard <hidden> Date: 2009-10-20 03:50:58
Hi Ingo,
Just to confirm - these 3 symbol fixes are for the PowerPC tree, not for
the perf events tree, right? There's nothing perf specific about the
fixes - kgdb, systemtap and other debugging/instrumentation frameworks
will benefit from more precise symbol generation too.
Yeah, while they were written to fix perf backtrace issues they are
definitely not perf specific. Hopefully Ben will queue them up in his
tree for the next merge window :)
Anton
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2009-10-20 04:12:57
On Tue, 2009-10-20 at 14:50 +1100, Anton Blanchard wrote:
Hi Ingo,
quoted
Just to confirm - these 3 symbol fixes are for the PowerPC tree, not for
the perf events tree, right? There's nothing perf specific about the
fixes - kgdb, systemtap and other debugging/instrumentation frameworks
will benefit from more precise symbol generation too.
Yeah, while they were written to fix perf backtrace issues they are
definitely not perf specific. Hopefully Ben will queue them up in his
tree for the next merge window :)
Right, I'm overdue for a powerpc-next but with some family issues last
couple of week and KS/JLS this week, it' a bit hard :-)
Ben.