Lines Matching refs:ftrace_enabled
88 int ftrace_enabled __read_mostly;
323 if (!ftrace_enabled && (ops->flags & FTRACE_OPS_FL_PERMANENT)) in __register_ftrace_function()
339 if (ftrace_enabled) in __register_ftrace_function()
357 if (ftrace_enabled) in __unregister_ftrace_function()
2851 if (!command || !ftrace_enabled) in ftrace_startup_enable()
2940 if (!command || !ftrace_enabled) { in ftrace_shutdown()
4068 if (!ftrace_enabled) in ftrace_ops_update_code()
4758 if (ftrace_enabled && !ftrace_hash_empty(hash)) in unregister_ftrace_function_probe_func()
6871 last_ftrace_enabled = ftrace_enabled = 1; in ftrace_init()
6930 ftrace_enabled = 1; in ftrace_nodyn_init()
7523 ftrace_enabled = 0; in ftrace_kill()
7607 if (ret || !write || (last_ftrace_enabled == !!ftrace_enabled)) in ftrace_enable_sysctl()
7610 if (ftrace_enabled) { in ftrace_enable_sysctl()
7621 ftrace_enabled = true; in ftrace_enable_sysctl()
7632 last_ftrace_enabled = !!ftrace_enabled; in ftrace_enable_sysctl()