Lines Matching +full:buffer +full:- +full:enable
1 # SPDX-License-Identifier: GPL-2.0-only
20 Enable generic return hooking feature. This is an internal
21 API, which will be used by other function-entry hooking
27 See Documentation/trace/ftrace-design.rst
32 See Documentation/trace/ftrace-design.rst
45 See Documentation/trace/ftrace-design.rst
86 See Documentation/trace/ftrace-design.rst
91 Arch supports the gcc options -pg with -mfentry
96 Arch supports the gcc options -pg with -mrecord-mcount and -nop-mcount
101 Arch supports objtool --mcount
106 Arch supports the objtool options --mcount with --mnop.
107 An architecture can select this if it wants to enable nop'ing
199 Enable the kernel tracing infrastructure.
217 bool "Boot-time Tracing support"
221 Enable developer to setup ftrace subsystem via supplemental
235 Enable the kernel to trace every kernel function. This is done
236 by using a compiler feature to insert a small, 5-byte No-Operation
241 small and not measurable even in micro-benchmarks (at least on
251 Enable the kernel to trace a function at both its return
267 enable it via the trace option funcgraph-retval.
278 enable it via the trace option funcgraph-retaddr.
288 enabled via the trace option func-args (for the function tracer) and
289 funcgraph-args (for the function graph tracer)
299 replace them with a No-Op instruction) on boot up. During
373 stack-trace saved. If this is configured with DYNAMIC_FTRACE
377 To enable the stack tracer on bootup, pass in 'stacktrace'
392 bool "Interrupts-off Latency Tracer"
402 This option measures the time spent in irqs-off critical
406 disabled by default and can be runtime (re-)started
412 enabled. This option and the preempt-off timing option can be
416 bool "Preemption-off Latency Tracer"
426 This option measures the time spent in preemption-off critical
430 disabled by default and can be runtime (re-)started
436 enabled. This option and the irqs-off timing option can be
465 hwlat_detector/width - time in usecs for how long to spin for
466 hwlat_detector/window - time in usecs between the start of each
471 for "window - width" microseconds, where the system can
481 To enable this tracer, echo in "hwlat" into the current_tracer
483 be recorded into the ring buffer.
490 In the context of high-performance computing (HPC), the Operating
494 can cause noise to the system. Moreover, hardware-related jobs can
501 increasing a per-cpu interference counter. It saves an interference
506 hardware noise counter increases, pointing to a hardware-related
517 To enable this tracer, echo in "osnoise" into the current_tracer
526 to find sources of wakeup latencies of real-time threads.
528 The tracer creates a per-cpu kernel thread with real-time priority.
556 default and can be enabled at run-time.
579 bool "Create a snapshot trace buffer"
582 Allow tracing users to take snapshot of the current buffer using the
593 Allow doing a snapshot of a single CPU buffer instead of a
599 After which, only the tracing buffer for CPU 2 was swapped with
600 the main tracing buffer, and the other CPU buffers remain the same.
623 The "all branch" profiler will profile every if-statement in the
624 kernel. This profiler will also enable the likely/unlikely
634 Only enable it if you want to analyse the branching behavior.
683 events into a running trace buffer to see when and where the
707 echo 1 > /sys/block/sda/sda1/trace/enable
716 bool "Enable fprobe-based dynamic events"
742 bool "Enable kprobes-based dynamic events"
755 This option is also required by perf-probe subcommand of perf tools.
768 functions are protected from kprobe-events to prevent an infinite
779 bool "Enable uprobes-based dynamic events"
793 This option is required if you plan to use perf-probe subcommand
797 bool "Enable event-based dynamic events"
826 bool "Enable BPF programs to override a kprobed function"
840 depends on $(cc-option,-mrecord-mcount)
863 tracing_map is a special-purpose lock-free map for tracing,
864 separated out as a stand-alone facility in order to allow it
875 Synthetic events are user-defined trace events that can be
879 by way of an in-kernel API.
891 User trace events are user-defined trace events that
917 Inter-event tracing of quantities such as latencies is also
927 Allow user-space to inject a specific trace event into the ring
928 buffer. This is mainly used for testing purpose.
963 tristate "Ring buffer benchmark stress tester"
966 This option creates a test to stress the ring buffer and benchmark it.
967 It creates its own ring buffer such that it will not interfere with
968 any other users of the ring buffer (such as ftrace). It then creates
1045 bool "Record functions that recurse in the ring buffer"
1050 The ring buffer has its own internal recursion. Although when
1059 bool "Enable GCOV profiling on ftrace subsystem"
1062 Enable GCOV profiling on ftrace subsystem for checking
1097 This option will also enable testing every syscall event.
1102 TBD - enable a way to actually call the syscalls as we test their
1113 is not done correctly, it will cause non-deterministic failures.
1120 bool "Ring buffer startup self test"
1123 Run a simple self test on the ring buffer on boot up. Late in the
1126 into the ring buffer. Another thread is created to send IPIs
1128 to the ring buffer, to test/stress the nesting ability.
1136 It will output the stats of each per cpu buffer: What
1143 bool "Verify ring buffer time stamp deltas"
1146 This will audit the time stamps on the ring buffer sub
1147 buffer to make sure that all the time deltas for the
1148 events on a sub buffer matches the current time stamp.
1152 that all the deltas on the previous sub buffer do not
1156 and should only be used to test the logic of the ring buffer.
1182 irq-disabled critical sections for 500us:
1192 tristate "Test module for in-kernel synthetic event generation"
1196 functionality of in-kernel synthetic event definition and
1199 To test, insert the module, and then check the trace buffer
1205 tristate "Test module for in-kernel kprobe event generation"
1209 functionality of in-kernel kprobe event definition.
1211 To test, insert the module, and then check the trace buffer
1226 - Helps developers verify that nothing is broken.
1228 - Provides educational information to support the details
1230 Documentation/trace/histogram-design.rst.