linux/arch/powerpc
Steven Rostedt bac821a6e3 powerpc/ftrace: Trace function graph entry before updating index
As Colin Cross ported my x86 change to ARM, he also pointed out that
powerpc is also behind in this fix.

The commit 722b3c7469 "ftrace/graph: Trace function entry before
updating index" fixes an issue with function graph tracing for x86,
where if the called entry function decides not to trace interrupts, it
can fail the check if an interrupt comes in just after the
curr_ret_stack is updated.

The solution is to call the entry function first, then update the
curr_ret_stack if the entry function wants to be traced.

Cc: Colin Cross <ccross@android.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-07-27 11:42:34 +10:00
..
boot powerpc/85xx: Add phy nodes in SGMII mode for MPC8536/44/72DS & P2020DS 2012-07-12 10:08:09 -05:00
configs powerpc: Enable pseries hardware RNG and crypto modules 2012-07-27 11:42:32 +10:00
include/asm PCI changes for the 3.6 merge window: 2012-07-24 16:17:07 -07:00
kernel powerpc/ftrace: Trace function graph entry before updating index 2012-07-27 11:42:34 +10:00
kvm powerpc/kvm/bookehv: Fix build regression 2012-07-27 11:42:32 +10:00
lib powerpc: Put the gpr save/restore functions in their own section 2012-07-11 14:19:59 +10:00
math-emu
mm powerpc: Use CURRENT_THREAD_INFO instead of open coded assembly 2012-07-11 14:18:22 +10:00
net powerpc: Start using ___PPC_RA/B/S/T where necessary 2012-07-10 19:18:25 +10:00
oprofile Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
perf powerpc/perf: Use perf_instruction_pointer in callchains 2012-07-10 19:18:46 +10:00
platforms PCI changes for the 3.6 merge window: 2012-07-24 16:17:07 -07:00
sysdev PCI changes for the 3.6 merge window: 2012-07-24 16:17:07 -07:00
xmon powerpc/xmon: Use cpumask iterator to avoid warning 2012-07-02 14:30:11 +10:00
Kconfig powerpc: select PPC_CLOCK unconditionally for FSL_SOC 2012-07-10 07:08:58 -05:00
Kconfig.debug powerpc: IOMMU fault injection 2012-07-10 19:18:59 +10:00
Makefile powerpc/crypto: Build files for the nx device driver 2012-05-16 15:05:45 +10:00
relocs_check.pl