Thread (9 messages) flat view 9 messages, 4 authors, 2019-12-10

Re: [PATCH bpf 1/3] ftrace: Fix function_graph tracer interaction with BPF trampoline

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2019-12-10 16:30:21
Also in: bpf

On Tue, 10 Dec 2019 08:19:42 -0800
Alexei Starovoitov [off-list ref] wrote:
On Sun, Dec 8, 2019 at 4:03 PM Alexei Starovoitov [off-list ref] wrote:
quoted
Depending on type of BPF programs served by BPF trampoline it can call original
function. In such case the trampoline will skip one stack frame while
returning. That will confuse function_graph tracer and will cause crashes with
bad RIP. Teach graph tracer to skip functions that have BPF trampoline attached.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>  
Steven, please take a look.
I'll try to get to it today or tomorrow. I have some other work to get
done that my job requires I do ;-)

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help