Lines Matching refs:ftrace_enabled
88 int ftrace_enabled __read_mostly;
318 if (!ftrace_enabled && (ops->flags & FTRACE_OPS_FL_PERMANENT)) in __register_ftrace_function()
334 if (ftrace_enabled) in __register_ftrace_function()
352 if (ftrace_enabled) in __unregister_ftrace_function()
2880 if (!command || !ftrace_enabled) in ftrace_startup_enable()
2969 if (!command || !ftrace_enabled) { in ftrace_shutdown()
4097 if (!ftrace_enabled) in ftrace_ops_update_code()
4787 if (ftrace_enabled && !ftrace_hash_empty(hash)) in unregister_ftrace_function_probe_func()
7099 last_ftrace_enabled = ftrace_enabled = 1; in ftrace_init()
7158 ftrace_enabled = 1; in ftrace_nodyn_init()
7748 ftrace_enabled = 0; in ftrace_kill()
7832 if (ret || !write || (last_ftrace_enabled == !!ftrace_enabled)) in ftrace_enable_sysctl()
7835 if (ftrace_enabled) { in ftrace_enable_sysctl()
7846 ftrace_enabled = true; in ftrace_enable_sysctl()
7857 last_ftrace_enabled = !!ftrace_enabled; in ftrace_enable_sysctl()