Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/include/asm/
Dftrace.h104 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() argument
115 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
Dinterrupt.h231 u8 ftrace_enabled; member
282 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()
Dpaca.h235 u8 ftrace_enabled; /* Hard disable ftrace */ member
/Linux-v5.15/kernel/trace/
Dtrace_selftest.c184 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 …]
Dftrace.c88 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 …]
/Linux-v5.15/tools/testing/selftests/livepatch/
Dfunctions.sh58 FTRACE_ENABLED=$(sysctl --values kernel.ftrace_enabled)
66 sysctl kernel.ftrace_enabled="$FTRACE_ENABLED" &> /dev/null
78 result=$(sysctl -q kernel.ftrace_enabled="$1" 2>&1 && \
79 sysctl kernel.ftrace_enabled 2>&1)
/Linux-v5.15/include/linux/
Dftrace.h86 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()
/Linux-v5.15/Documentation/trace/
Dftrace-uses.rst221 writing 0 to the proc sysctl ftrace_enabled. Equally, a callback with
222 the flag set cannot be registered if ftrace_enabled is 0.
Dftrace.rst2260 ftrace_enabled is set; otherwise this tracer is a nop.
2261 See the "ftrace_enabled" section below.
2264 # sysctl kernel.ftrace_enabled=1
3034 ftrace_enabled section in ftrace - Function Tracer
3049 sysctl kernel.ftrace_enabled=0
3050 sysctl kernel.ftrace_enabled=1
3054 echo 0 > /proc/sys/kernel/ftrace_enabled
3055 echo 1 > /proc/sys/kernel/ftrace_enabled
/Linux-v5.15/arch/powerpc/kernel/
Dasm-offsets.c199 OFFSET(PACA_FTRACE_ENABLED, paca_struct, ftrace_enabled); in main()
/Linux-v5.15/kernel/
Dsysctl.c2054 .data = &ftrace_enabled,
/Linux-v5.15/Documentation/admin-guide/sysctl/
Dkernel.rst298 ftrace_enabled, stack_tracer_enabled