[RFC][PATCH 5/7] ftrace/x86: Simplify save_mcount_regs on getting RIP

2014-11-24 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Currently save_mcount_regs is passed a "skip" parameter to know how much stack updated the pt_regs, as it tries to keep the saved pt_regs in the same location for all users. This is rather stupid, especially since the part stored on the pt_regs has nothing to do

[RFC][PATCH 5/7] ftrace/x86: Simplify save_mcount_regs on getting RIP

2014-11-24 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Currently save_mcount_regs is passed a skip parameter to know how much stack updated the pt_regs, as it tries to keep the saved pt_regs in the same location for all users. This is rather stupid, especially since the part stored on the pt_regs has