Messages in this thread | | | Date | Thu, 28 Aug 2008 09:50:26 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] ftrace: remove direct reference to mcount in trace code |
| |
* Steven Rostedt <rostedt@goodmis.org> wrote:
> The mcount record method of ftrace scans objdump for references to > mcount. Using mcount as the reference to test if the calls to mcount > being replaced are indeed calls to mcount, this use of mcount was also > caught as a location to change. Using a variable that points to the > mcount address moves this reference into the data section that is not > scanned, and we do not use a false location to try and modify. > > The warn on code was what was used to detect this bug. > > Signed-off-by: Steven Rostedt <srostedt@redhat.com>
applied to tip/tracing/ftrace - thanks Steve!
Ingo
| |