diff options
author | Steven Rostedt <[email protected]> | 2024-10-28 03:12:33 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-10-29 07:43:02 -0400 |
commit | 8b0cb3a4c5e85dda8957ba6a4c8c081a9aec6e80 (patch) | |
tree | 758d97a227223503bd30e24607e1b979ebeaf2fb /kernel/trace/trace_functions_graph.c | |
parent | 9687bbf219549fc93f2364c78aa91fd9ffc9eca0 (diff) |
ftrace: Use guard to take ftrace_lock in ftrace_graph_set_hash()
The ftrace_lock is taken for most of the ftrace_graph_set_hash() function
throughout the end. Use guard to take the ftrace_lock to simplify the exit
paths.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions