diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-08 12:25:46 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-08 12:25:46 -0500 |
commit | 714641c3670cdc75371a7ff5bdfd5e9a170c7ffd (patch) | |
tree | afff8b9afc93f0885bf7aeaea2a24e3ad6f7bdbc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c666d2ab5762280cb5ef43df4decb2a25450d54 (diff) |
ftrace: Separate out the copying of a ftrace_hash from __ftrace_hash_move()
Most of the functionality of __ftrace_hash_move() can be reused, but not all
of it. That is, __ftrace_hash_move() is used to simply make a new hash from
an existing one, using the same size as the original. Creating a dup_hash(),
where we can specify a new size will be useful when we want to create a hash
with a default size, or simply copy the old one.
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