summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2024-06-05 21:03:35 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-06-06 19:45:17 +0300
commit3afd801f4264c7a6c84957cd3ab653cfd8f61d3e (patch)
treefc9944f056ea3797a78a9802f6e580086646bfda /tools/perf/scripts/python/compaction-times.py
parent5efe9688f9488e8e95177d03be2678021233e877 (diff)
downloadlinux-3afd801f4264c7a6c84957cd3ab653cfd8f61d3e.tar.xz
ftrace: Rename dup_hash() and comment it
The name "dup_hash()" is a misnomer as it does not duplicate the hash that is passed in, but instead moves its entities from that hash to a newly allocated one. Rename it to "__move_hash()" (using starting underscores as it is an internal function), and add some comments about what it does. Link: https://lore.kernel.org/linux-trace-kernel/20240605180408.537723591@goodmis.org Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Andrew Morton <akpm@linux-foundation.org> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions