diff options
author | Alexei Starovoitov <[email protected]> | 2019-12-08 16:01:12 -0800 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2019-12-10 13:53:59 -0500 |
commit | ff205766dbbee024a4a716638868d98ffb17748a (patch) | |
tree | 503d0cfaaecf515dd179e6e0c6a8c0ef57f2b3cb /tools/perf/util/trace-event-scripting.c | |
parent | a61f810567be0ef101d8bbb65b89ffeac7d62103 (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. 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 <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions