]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ftrace: Add helper function ftrace_hash_move_and_update_ops()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 4 Apr 2017 18:46:56 +0000 (14:46 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:42 +0000 (22:06 -0400)
commite16b35ddb840788e023fac2482b61c0b6bf98057
tree482b09e069be85d7f9adcea28b79e0ed3a18cd9e
parent1a48df0041c2756194e700affb0e2ff084092e28
ftrace: Add helper function ftrace_hash_move_and_update_ops()

The processes of updating a ops filter_hash is a bit complex, and requires
setting up an old hash to perform the update. This is done exactly the same
in two locations for the same reasons. Create a helper function that does it
in one place.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c