[for-next][PATCH 21/33] ftrace: Add helper function ftrace_hash_move_and_update_ops()

2017-04-21 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" 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.

[for-next][PATCH 21/33] ftrace: Add helper function ftrace_hash_move_and_update_ops()

2017-04-21 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" 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