summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-15 14:14:45 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-15 14:25:08 -0500
commit128161f47bc3797b0d068da13e311770685d6e4f (patch)
tree3613e05d810e762cec293165aebe0f40ba4a58fc /tools/perf/scripts/python/export-to-sqlite.py
parent406acdd32d3e7d5a6dcb7f67798e89068fbe0d77 (diff)
ftrace: Add helper find_direct_entry() to consolidate code
Both unregister_ftrace_direct() and modify_ftrace_direct() needs to normalize the ip passed in to match the rec->ip, as it is acceptable to have the ip on the ftrace call site but not the start. There are also common validity checks with the record found by the ip, these should be done for both unregister_ftrace_direct() and modify_ftrace_direct(). Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions