Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/include/asm/
A Dftrace.h109 get_paca()->ftrace_enabled = 0; in this_cpu_disable_ftrace()
114 get_paca()->ftrace_enabled = 1; in this_cpu_enable_ftrace()
118 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) in this_cpu_set_ftrace_enabled() argument
120 get_paca()->ftrace_enabled = ftrace_enabled; in this_cpu_set_ftrace_enabled()
125 return get_paca()->ftrace_enabled; in this_cpu_get_ftrace_enabled()
132 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) { } in this_cpu_set_ftrace_enabled() argument
A Dinterrupt.h259 u8 ftrace_enabled; member
312 state->ftrace_enabled = this_cpu_get_ftrace_enabled(); in interrupt_nmi_enter_prepare()
373 this_cpu_set_ftrace_enabled(state->ftrace_enabled); in interrupt_nmi_exit_prepare()
A Dpaca.h235 u8 ftrace_enabled; /* Hard disable ftrace */ member
/linux-6.3-rc2/kernel/trace/
A Dtrace_selftest.c195 ftrace_enabled = 1; in trace_selftest_ops()
350 ftrace_enabled = save_ftrace_enabled; in trace_selftest_ops()
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()
503 ftrace_enabled = 1; in trace_selftest_function_recursion()
619 ftrace_enabled = 1; in trace_selftest_function_regs()
708 ftrace_enabled = 1; in trace_selftest_startup_function()
720 ftrace_enabled = 0; in trace_selftest_startup_function()
[all …]
A Dftrace.c90 int ftrace_enabled __read_mostly;
363 if (ftrace_enabled) in __register_ftrace_function()
381 if (ftrace_enabled) in __unregister_ftrace_function()
3039 if (!command || !ftrace_enabled) in ftrace_startup_enable()
3138 if (!command || !ftrace_enabled) in ftrace_shutdown()
4329 if (!ftrace_enabled) in ftrace_ops_update_code()
7591 ftrace_enabled = 1; in ftrace_nodyn_init()
8177 ftrace_enabled = 0; in ftrace_kill()
8520 if (ftrace_enabled) { in ftrace_enable_sysctl()
8531 ftrace_enabled = true; in ftrace_enable_sysctl()
[all …]
/linux-6.3-rc2/tools/testing/selftests/livepatch/
A 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-6.3-rc2/include/linux/
A Dftrace.h108 extern int ftrace_enabled;
934 ftrace_enabled = 0; in tracer_disable()
946 int saved_ftrace_enabled = ftrace_enabled; in __ftrace_enabled_save()
947 ftrace_enabled = 0; in __ftrace_enabled_save()
957 ftrace_enabled = enabled; in __ftrace_enabled_restore()
/linux-6.3-rc2/Documentation/trace/
A 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.
A 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-6.3-rc2/arch/powerpc/kernel/
A Dasm-offsets.c197 OFFSET(PACA_FTRACE_ENABLED, paca_struct, ftrace_enabled); in main()
/linux-6.3-rc2/Documentation/admin-guide/sysctl/
A Dkernel.rst306 ftrace_enabled, stack_tracer_enabled

Completed in 37 milliseconds