Lines Matching refs:ftrace_enabled
94 int ftrace_enabled __read_mostly;
351 if (!ftrace_enabled && (ops->flags & FTRACE_OPS_FL_PERMANENT)) in __register_ftrace_function()
367 if (ftrace_enabled) in __register_ftrace_function()
385 if (ftrace_enabled) in __unregister_ftrace_function()
3033 if (!command || !ftrace_enabled) in ftrace_startup_enable()
3132 if (!command || !ftrace_enabled) in ftrace_shutdown()
4385 if (!ftrace_enabled) in ftrace_ops_update_code()
5079 if (ftrace_enabled && !ftrace_hash_empty(hash)) in unregister_ftrace_function_probe_func()
7251 last_ftrace_enabled = ftrace_enabled = 1; in ftrace_init()
7303 ftrace_enabled = 1; in ftrace_nodyn_init()
7889 ftrace_enabled = 0; in ftrace_kill()
8228 if (ret || !write || (last_ftrace_enabled == !!ftrace_enabled)) in ftrace_enable_sysctl()
8231 if (ftrace_enabled) { in ftrace_enable_sysctl()
8242 ftrace_enabled = true; in ftrace_enable_sysctl()
8253 last_ftrace_enabled = !!ftrace_enabled; in ftrace_enable_sysctl()
8262 .data = &ftrace_enabled,