Re: [PATCH] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

2016-05-20 Thread Ingo Molnar
* Steven Rostedt wrote: > > Ingo, > > Did you want to take this patch through the tip tree, or do you want me > to take it? Feel free to take it! Thanks, Ingo

Re: [PATCH] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

2016-05-20 Thread Ingo Molnar
* Steven Rostedt wrote: > > Ingo, > > Did you want to take this patch through the tip tree, or do you want me > to take it? Feel free to take it! Thanks, Ingo

Re: [PATCH] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

2016-05-18 Thread Steven Rostedt
Ingo, Did you want to take this patch through the tip tree, or do you want me to take it? Thanks, -- Steve On Mon, 16 May 2016 23:00:35 -0400 Steven Rostedt wrote: > Matt Fleming reported seeing crashes when enabling and disabling > function profiling which uses

Re: [PATCH] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

2016-05-18 Thread Steven Rostedt
Ingo, Did you want to take this patch through the tip tree, or do you want me to take it? Thanks, -- Steve On Mon, 16 May 2016 23:00:35 -0400 Steven Rostedt wrote: > Matt Fleming reported seeing crashes when enabling and disabling > function profiling which uses function graph tracer.

[PATCH] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

2016-05-16 Thread Steven Rostedt
Matt Fleming reported seeing crashes when enabling and disabling function profiling which uses function graph tracer. Later Namhyung Kim hit a similar issue and he found that the issue was due to the jmp to ftrace_stub in ftrace_graph_call was only two bytes, and when it was changed to jump to the

[PATCH] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

2016-05-16 Thread Steven Rostedt
Matt Fleming reported seeing crashes when enabling and disabling function profiling which uses function graph tracer. Later Namhyung Kim hit a similar issue and he found that the issue was due to the jmp to ftrace_stub in ftrace_graph_call was only two bytes, and when it was changed to jump to the