[for-next][PATCH 1/9] ftrace: Have the control_ops get a trampoline

2014-11-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" With the new logic, if only a single user of ftrace function hooks is used, it will get its own trampoline assigned to it. The problem is that the control_ops is an indirect ops that perf ops uses. What that means is that when perf registers its ops with

[for-next][PATCH 1/9] ftrace: Have the control_ops get a trampoline

2014-11-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org With the new logic, if only a single user of ftrace function hooks is used, it will get its own trampoline assigned to it. The problem is that the control_ops is an indirect ops that perf ops uses. What that means is that when perf registers its