Home
last modified time | relevance | path

Searched refs:tmp_ops (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/trace/
H A Dftrace.c6107 static struct ftrace_ops tmp_ops = { in __modify_ftrace_direct() local
6116 /* Enable the tmp_ops to have the same functions as the direct ops */ in __modify_ftrace_direct()
6117 ftrace_ops_init(&tmp_ops); in __modify_ftrace_direct()
6118 tmp_ops.func_hash = ops->func_hash; in __modify_ftrace_direct()
6119 tmp_ops.direct_call = addr; in __modify_ftrace_direct()
6121 err = register_ftrace_function_nolock(&tmp_ops); in __modify_ftrace_direct()
6146 /* Removing the tmp_ops will add the updated direct callers to the functions */ in __modify_ftrace_direct()
6147 unregister_ftrace_function(&tmp_ops); in __modify_ftrace_direct()