Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/include/asm/
Dftrace.h94 get_paca()->ftrace_enabled = 0; in this_cpu_disable_ftrace()
99 get_paca()->ftrace_enabled = 1; in this_cpu_enable_ftrace()
103 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) in this_cpu_set_ftrace_enabled() argument
105 get_paca()->ftrace_enabled = ftrace_enabled; in this_cpu_set_ftrace_enabled()
110 return get_paca()->ftrace_enabled; in this_cpu_get_ftrace_enabled()
117 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) { } in this_cpu_set_ftrace_enabled() argument
Dinterrupt.h278 u8 ftrace_enabled; member
331 state->ftrace_enabled = this_cpu_get_ftrace_enabled(); in interrupt_nmi_enter_prepare()
392 this_cpu_set_ftrace_enabled(state->ftrace_enabled); in interrupt_nmi_exit_prepare()
Dpaca.h235 u8 ftrace_enabled; /* Hard disable ftrace */ member
/Linux-v6.1/kernel/trace/
Dtrace_selftest.c184 int save_ftrace_enabled = ftrace_enabled; in trace_selftest_ops()
195 ftrace_enabled = 1; in trace_selftest_ops()
350 ftrace_enabled = save_ftrace_enabled; in trace_selftest_ops()
360 int save_ftrace_enabled = ftrace_enabled; in trace_selftest_startup_dynamic_tracing()
370 ftrace_enabled = 1; in trace_selftest_startup_dynamic_tracing()
414 ftrace_enabled = 0; in trace_selftest_startup_dynamic_tracing()
419 ftrace_enabled = 1; in trace_selftest_startup_dynamic_tracing()
435 ftrace_enabled = save_ftrace_enabled; in trace_selftest_startup_dynamic_tracing()
492 int save_ftrace_enabled = ftrace_enabled; in trace_selftest_function_recursion()
503 ftrace_enabled = 1; in trace_selftest_function_recursion()
[all …]
Dftrace.c90 int ftrace_enabled __read_mostly;
320 if (!ftrace_enabled && (ops->flags & FTRACE_OPS_FL_PERMANENT)) in __register_ftrace_function()
336 if (ftrace_enabled) in __register_ftrace_function()
354 if (ftrace_enabled) in __unregister_ftrace_function()
2933 if (!command || !ftrace_enabled) in ftrace_startup_enable()
3032 if (!command || !ftrace_enabled) in ftrace_shutdown()
4214 if (!ftrace_enabled) in ftrace_ops_update_code()
4908 if (ftrace_enabled && !ftrace_hash_empty(hash)) in unregister_ftrace_function_probe_func()
7408 last_ftrace_enabled = ftrace_enabled = 1; in ftrace_init()
7460 ftrace_enabled = 1; in ftrace_nodyn_init()
[all …]
/Linux-v6.1/tools/testing/selftests/livepatch/
Dfunctions.sh59 FTRACE_ENABLED=$(sysctl --values kernel.ftrace_enabled)
67 sysctl kernel.ftrace_enabled="$FTRACE_ENABLED" &> /dev/null
85 local err=$(sysctl -q kernel.ftrace_enabled="$1" 2>&1)
86 local result=$(sysctl --values kernel.ftrace_enabled)
/Linux-v6.1/include/linux/
Dftrace.h103 extern int ftrace_enabled;
897 ftrace_enabled = 0; in tracer_disable()
909 int saved_ftrace_enabled = ftrace_enabled; in __ftrace_enabled_save()
910 ftrace_enabled = 0; in __ftrace_enabled_save()
920 ftrace_enabled = enabled; in __ftrace_enabled_restore()
/Linux-v6.1/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.rst2272 ftrace_enabled is set; otherwise this tracer is a nop.
2273 See the "ftrace_enabled" section below.
2276 # sysctl kernel.ftrace_enabled=1
3045 ftrace_enabled section in ftrace - Function Tracer
3060 sysctl kernel.ftrace_enabled=0
3061 sysctl kernel.ftrace_enabled=1
3065 echo 0 > /proc/sys/kernel/ftrace_enabled
3066 echo 1 > /proc/sys/kernel/ftrace_enabled
/Linux-v6.1/arch/powerpc/kernel/
Dasm-offsets.c198 OFFSET(PACA_FTRACE_ENABLED, paca_struct, ftrace_enabled); in main()
/Linux-v6.1/Documentation/admin-guide/sysctl/
Dkernel.rst303 ftrace_enabled, stack_tracer_enabled