Searched refs:ftrace_enabled (Results 1 – 12 of 12) sorted by relevance
104 get_paca()->ftrace_enabled = 0; in this_cpu_disable_ftrace()109 get_paca()->ftrace_enabled = 1; in this_cpu_enable_ftrace()113 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) in this_cpu_set_ftrace_enabled() argument115 get_paca()->ftrace_enabled = ftrace_enabled; in this_cpu_set_ftrace_enabled()120 return get_paca()->ftrace_enabled; in this_cpu_get_ftrace_enabled()126 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) { } in this_cpu_set_ftrace_enabled() argument
231 u8 ftrace_enabled; member282 state->ftrace_enabled = this_cpu_get_ftrace_enabled(); in interrupt_nmi_enter_prepare()319 this_cpu_set_ftrace_enabled(state->ftrace_enabled); in interrupt_nmi_exit_prepare()
235 u8 ftrace_enabled; /* Hard disable ftrace */ member
184 int save_ftrace_enabled = ftrace_enabled; in trace_selftest_ops()195 ftrace_enabled = 1; in trace_selftest_ops()316 ftrace_enabled = save_ftrace_enabled; in trace_selftest_ops()326 int save_ftrace_enabled = ftrace_enabled; in trace_selftest_startup_dynamic_tracing()336 ftrace_enabled = 1; in trace_selftest_startup_dynamic_tracing()380 ftrace_enabled = 0; in trace_selftest_startup_dynamic_tracing()385 ftrace_enabled = 1; in trace_selftest_startup_dynamic_tracing()401 ftrace_enabled = save_ftrace_enabled; in trace_selftest_startup_dynamic_tracing()458 int save_ftrace_enabled = ftrace_enabled; in trace_selftest_function_recursion()469 ftrace_enabled = 1; in trace_selftest_function_recursion()[all …]
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()[all …]
58 FTRACE_ENABLED=$(sysctl --values kernel.ftrace_enabled)66 sysctl kernel.ftrace_enabled="$FTRACE_ENABLED" &> /dev/null78 result=$(sysctl -q kernel.ftrace_enabled="$1" 2>&1 && \79 sysctl kernel.ftrace_enabled 2>&1)
86 extern int ftrace_enabled;804 ftrace_enabled = 0; in tracer_disable()816 int saved_ftrace_enabled = ftrace_enabled; in __ftrace_enabled_save()817 ftrace_enabled = 0; in __ftrace_enabled_save()827 ftrace_enabled = enabled; in __ftrace_enabled_restore()
221 writing 0 to the proc sysctl ftrace_enabled. Equally, a callback with222 the flag set cannot be registered if ftrace_enabled is 0.
2260 ftrace_enabled is set; otherwise this tracer is a nop.2261 See the "ftrace_enabled" section below.2264 # sysctl kernel.ftrace_enabled=13034 ftrace_enabled section in ftrace - Function Tracer3049 sysctl kernel.ftrace_enabled=03050 sysctl kernel.ftrace_enabled=13054 echo 0 > /proc/sys/kernel/ftrace_enabled3055 echo 1 > /proc/sys/kernel/ftrace_enabled
199 OFFSET(PACA_FTRACE_ENABLED, paca_struct, ftrace_enabled); in main()
2054 .data = &ftrace_enabled,
298 ftrace_enabled, stack_tracer_enabled