diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-08 12:26:46 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-08 12:26:46 -0500 |
commit | 7e16f581a81759bafea04d049134b32d1a881226 (patch) | |
tree | 0e38f5c34c060b2eae878e42ad8a3d437f912289 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 714641c3670cdc75371a7ff5bdfd5e9a170c7ffd (diff) |
ftrace: Separate out functionality from ftrace_location_range()
Create a new function called lookup_rec() from the functionality of
ftrace_location_range(). The difference between lookup_rec() is that it
returns the record that it finds, where as ftrace_location_range() returns
only if it found a match or not.
The lookup_rec() is static, and can be used for new functionality where
ftrace needs to find a record of a specific address.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions