Re: [PATCH 1/2] ftrace/x86: Add frames pointers to trampoline as necessary

2014-11-19 Thread Steven Rostedt
On Wed, 19 Nov 2014 19:26:48 +0100 (CET) Thomas Gleixner wrote: > On Tue, 18 Nov 2014, Steven Rostedt wrote: > > From: "Steven Rostedt (Red Hat)" > > > > When CONFIG_FRAME_POINTERS are enabled, it is required that the > > ftrace_caller and ftrace_regs_caller trampolines set up frame pointers >

Re: [PATCH 1/2] ftrace/x86: Add frames pointers to trampoline as necessary

2014-11-19 Thread Thomas Gleixner
On Tue, 18 Nov 2014, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > When CONFIG_FRAME_POINTERS are enabled, it is required that the > ftrace_caller and ftrace_regs_caller trampolines set up frame pointers > otherwise a stack trace from a function call wont print the functions > that

[PATCH 1/2] ftrace/x86: Add frames pointers to trampoline as necessary

2014-11-18 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When CONFIG_FRAME_POINTERS are enabled, it is required that the ftrace_caller and ftrace_regs_caller trampolines set up frame pointers otherwise a stack trace from a function call wont print the functions that called the trampoline. This is due to a check in __sav