Home
last modified time | relevance | path

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

/linux/arch/powerpc/include/asm/
H A Dftrace.h107 get_paca()->ftrace_enabled = 0; in this_cpu_disable_ftrace()
112 get_paca()->ftrace_enabled = 1; in this_cpu_enable_ftrace()
116 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) in this_cpu_set_ftrace_enabled() argument
118 get_paca()->ftrace_enabled = ftrace_enabled; in this_cpu_set_ftrace_enabled()
123 return get_paca()->ftrace_enabled; in this_cpu_get_ftrace_enabled()
128 static inline void this_cpu_set_ftrace_enabled(u8 ftrace_enabled) { } in this_cpu_set_ftrace_enabled() argument
H A Dinterrupt.h259 u8 ftrace_enabled; member
312 state->ftrace_enabled = this_cpu_get_ftrace_enabled(); in interrupt_nmi_enter_prepare()
383 this_cpu_set_ftrace_enabled(state->ftrace_enabled); in interrupt_nmi_exit_prepare()
H A Dpaca.h230 u8 ftrace_enabled; /* Hard disable ftrace */ member
/linux/kernel/trace/
H 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 …]
H A Dftrace.c95 int ftrace_enabled __read_mostly;
368 if (ftrace_enabled) in __register_ftrace_function()
386 if (ftrace_enabled) in __unregister_ftrace_function()
3030 if (!command || !ftrace_enabled) in ftrace_startup_enable()
3129 if (!command || !ftrace_enabled) in ftrace_shutdown()
4851 if (!ftrace_enabled) in ftrace_ops_update_code()
7823 ftrace_enabled = 1; in ftrace_nodyn_init()
8411 ftrace_enabled = 0; in ftrace_kill()
8753 if (ftrace_enabled) { in ftrace_enable_sysctl()
8764 ftrace_enabled = true; in ftrace_enable_sysctl()
[all …]
/linux/tools/testing/selftests/livepatch/
H A Dfunctions.sh60 FTRACE_ENABLED=$(sysctl --values kernel.ftrace_enabled)
68 sysctl kernel.ftrace_enabled="$FTRACE_ENABLED" &> /dev/null
86 local err=$(sysctl -q kernel.ftrace_enabled="$1" 2>&1)
87 local result=$(sysctl --values kernel.ftrace_enabled)
/linux/include/linux/
H A Dftrace.h116 extern int ftrace_enabled;
923 ftrace_enabled = 0; in tracer_disable()
935 int saved_ftrace_enabled = ftrace_enabled; in __ftrace_enabled_save()
936 ftrace_enabled = 0; in __ftrace_enabled_save()
946 ftrace_enabled = enabled; in __ftrace_enabled_restore()
/linux/Documentation/trace/
H 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.
H A Dftrace.rst2370 ftrace_enabled is set; otherwise this tracer is a nop.
2371 See the "ftrace_enabled" section below.
2374 # sysctl kernel.ftrace_enabled=1
3256 ftrace_enabled section in ftrace - Function Tracer
3271 sysctl kernel.ftrace_enabled=0
3272 sysctl kernel.ftrace_enabled=1
3276 echo 0 > /proc/sys/kernel/ftrace_enabled
3277 echo 1 > /proc/sys/kernel/ftrace_enabled
/linux/arch/powerpc/kernel/
H A Dasm-offsets.c199 OFFSET(PACA_FTRACE_ENABLED, paca_struct, ftrace_enabled); in main()
/linux/Documentation/admin-guide/sysctl/
H A Dkernel.rst324 ftrace_enabled, stack_tracer_enabled