commit | d4388fe67304dee3b80fdea5f2501450a16299d5 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Thu Dec 05 21:50:54 2019 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Dec 05 22:03:34 2019 -0800 |
tree | b0a2eec0cb6930a80a874c0df32158adff19e68e | |
parent | 670101553af7d9560e1a60a8aa87bdf9185e6b89 [diff] |
ftrace: Fix function_graph tracer interaction with BPF trampoline Depending on type of BPF programs served by BPF trampoline it can call original function and may skip frame. That will confuse function_graph tracer and will cause crashes with bad RIP. Teach graph tracer to skip function that are served by BPF trampoline. Signed-off-by: Alexei Starovoitov <ast@kernel.org>