| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
| D | tracepoints.rst | 13 For the list of support mlx5 events, check /sys/kernel/tracing/events/mlx5/. 19 $ echo mlx5:mlx5e_configure_flower >> /sys/kernel/tracing/set_event 20 $ cat /sys/kernel/tracing/trace 26 $ echo mlx5:mlx5e_delete_flower >> /sys/kernel/tracing/set_event 27 $ cat /sys/kernel/tracing/trace 33 $ echo mlx5:mlx5e_stats_flower >> /sys/kernel/tracing/set_event 34 $ cat /sys/kernel/tracing/trace 40 $ echo mlx5:mlx5e_tc_update_neigh_used_value >> /sys/kernel/tracing/set_event 41 $ cat /sys/kernel/tracing/trace 47 $ echo mlx5:mlx5e_rep_neigh_update >> /sys/kernel/tracing/set_event [all …]
|
| /kernel/linux/linux-5.10/kernel/trace/ |
| D | Kconfig | 82 Adds a very slight overhead to tracing when enabled. 87 select TRACING 94 # enabled by all tracers (context switch and event tracer) they select TRACING. 97 # GENERIC_TRACER and TRACING to avoid circular dependencies to accomplish the 100 config TRACING config 112 select TRACING 116 # be able to offer generic tracing facilities: 130 Enable the kernel tracing infrastructure. 135 bool "Boot-time Tracing support" 136 depends on TRACING [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/ftrace/ |
| D | func_traceonoff_triggers.tc | 10 # tracing, enabling or disabling trace events, or recording a stack trace 13 # This test is designed to test enabling and disabling tracing triggers 23 echo "Testing function probes with enabling disabling tracing:" 29 echo '** DISABLE TRACING' 43 echo '** ENABLE TRACING' 85 fail "Tracing is not stopped" 90 fail "Tracing is not off" 98 fail "Tracing file is still changing" 105 fail "Tracing is still happeing" 117 fail "Tracing is started again" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/ftrace/ |
| D | func_traceonoff_triggers.tc | 10 # tracing, enabling or disabling trace events, or recording a stack trace 13 # This test is designed to test enabling and disabling tracing triggers 23 echo "Testing function probes with enabling disabling tracing:" 29 echo '** DISABLE TRACING' 43 echo '** ENABLE TRACING' 85 fail "Tracing is not stopped" 90 fail "Tracing is not off" 98 fail "Tracing file is still changing" 105 fail "Tracing is still happeing" 117 fail "Tracing is started again" [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/ |
| D | boottime-trace.rst | 4 Boot-time tracing 12 Boot-time tracing allows users to trace boot-time process including 17 this uses bootconfig file to describe tracing feature programming. 22 Here is the list of available options list for boot time tracing in 44 Stop tracing if WARN_ON() occurs. 50 Add fgraph tracing function filters. 53 Add fgraph non-tracing function filters. 65 Enable/Disable tracing on this instance when starting boot-time tracing. 88 This will take an array of tracing function filter rules. 91 This will take an array of NON-tracing function filter rules. [all …]
|
| D | mmiotrace.rst | 2 In-kernel memory-mapped I/O tracing 10 MMIO tracing was originally developed by Intel around 2003 for their Fault 12 Jeff Muizelaar created a tool for tracing MMIO accesses with the Nouveau 26 Mmiotrace feature is compiled in by the CONFIG_MMIOTRACE option. Tracing is 28 supported, but tracing is unreliable and may miss events if more than one CPU 39 $ echo mmiotrace > /sys/kernel/debug/tracing/current_tracer 40 $ cat /sys/kernel/debug/tracing/trace_pipe > mydump.txt & 42 $ echo "X is up" > /sys/kernel/debug/tracing/trace_marker 43 $ echo nop > /sys/kernel/debug/tracing/current_tracer 59 $ echo mmiotrace > /sys/kernel/debug/tracing/current_tracer [all …]
|
| D | events.rst | 2 Event Tracing 13 using the event tracing infrastructure. 15 Not all tracepoints can be traced using the event tracing system; 17 tracing information is saved into the tracing buffer, and how the 18 tracing information should be printed. 20 2. Using Event Tracing 26 The events which are available for tracing can be found in the file 27 /sys/kernel/debug/tracing/available_events. 30 to /sys/kernel/debug/tracing/set_event. For example:: 32 # echo sched_wakeup >> /sys/kernel/debug/tracing/set_event [all …]
|
| D | uprobetracer.rst | 2 Uprobe-tracer: Uprobe-based Event Tracing 15 /sys/kernel/debug/tracing/uprobe_events, and enable it via 16 /sys/kernel/debug/tracing/events/uprobes/<EVENT>/enable. 21 You can also use /sys/kernel/debug/tracing/dynamic_events instead of 82 /sys/kernel/debug/tracing/uprobe_profile. The first column is the filename, 90 echo 'p /bin/bash:0x4245c0' > /sys/kernel/debug/tracing/uprobe_events 94 echo 'r /bin/bash:0x4245c0' > /sys/kernel/debug/tracing/uprobe_events 98 echo '-:p_bash_0x4245c0' >> /sys/kernel/debug/tracing/uprobe_events 102 cat /sys/kernel/debug/tracing/uprobe_events 106 echo > /sys/kernel/debug/tracing/uprobe_events [all …]
|
| D | hwlat_detector.rst | 38 Write the ASCII text "hwlat" into the current_tracer file of the tracing system 39 (mounted at /sys/kernel/tracing or /sys/kernel/tracing). It is possible to 45 # echo hwlat > /sys/kernel/tracing/current_tracer 46 # echo 100 > /sys/kernel/tracing/tracing_thresh 48 The /sys/kernel/tracing/hwlat_detector interface contains the following files: 58 observed then the data will be written to the tracing ring buffer. 70 The following tracing directory files are used by the hwlat_detector: 72 in /sys/kernel/tracing:
|
| /kernel/linux/linux-6.6/kernel/trace/ |
| D | Kconfig | 139 Adds a very slight overhead to tracing when enabled. 144 select TRACING 151 # enabled by all tracers (context switch and event tracer) they select TRACING. 154 # GENERIC_TRACER and TRACING to avoid circular dependencies to accomplish the 157 config TRACING config 170 select TRACING 174 # be able to offer generic tracing facilities: 187 Enable the kernel tracing infrastructure. 192 bool "Boot-time Tracing support" 193 depends on TRACING [all …]
|
| /kernel/linux/linux-6.6/Documentation/trace/ |
| D | mmiotrace.rst | 2 In-kernel memory-mapped I/O tracing 10 MMIO tracing was originally developed by Intel around 2003 for their Fault 12 Jeff Muizelaar created a tool for tracing MMIO accesses with the Nouveau 26 Mmiotrace feature is compiled in by the CONFIG_MMIOTRACE option. Tracing is 28 supported, but tracing is unreliable and may miss events if more than one CPU 39 $ echo mmiotrace > /sys/kernel/tracing/current_tracer 40 $ cat /sys/kernel/tracing/trace_pipe > mydump.txt & 42 $ echo "X is up" > /sys/kernel/tracing/trace_marker 43 $ echo nop > /sys/kernel/tracing/current_tracer 59 $ echo mmiotrace > /sys/kernel/tracing/current_tracer [all …]
|
| D | boottime-trace.rst | 4 Boot-time tracing 12 Boot-time tracing allows users to trace boot-time process including 17 this uses bootconfig file to describe tracing feature programming. 22 Here is the list of available options list for boot time tracing in 44 Stop tracing if WARN_ON() occurs. 50 Add fgraph tracing function filters. 53 Add fgraph non-tracing function filters. 65 Enable/Disable tracing on this instance when starting boot-time tracing. 88 This will take an array of tracing function filter rules. 91 This will take an array of NON-tracing function filter rules. [all …]
|
| D | events.rst | 2 Event Tracing 13 using the event tracing infrastructure. 15 Not all tracepoints can be traced using the event tracing system; 17 tracing information is saved into the tracing buffer, and how the 18 tracing information should be printed. 20 2. Using Event Tracing 26 The events which are available for tracing can be found in the file 27 /sys/kernel/tracing/available_events. 30 to /sys/kernel/tracing/set_event. For example:: 32 # echo sched_wakeup >> /sys/kernel/tracing/set_event [all …]
|
| D | timerlat-tracer.rst | 10 goal of timerlat is tracing in such a way to help kernel developers. 16 tracing system (generally mounted at /sys/kernel/tracing). 20 [root@f32 ~]# cd /sys/kernel/tracing/ 21 [root@f32 tracing]# echo timerlat > current_tracer 25 [root@f32 tracing]# cat trace 71 - stop_tracing_us: stop the system tracing if a 74 - stop_tracing_total_us: stop the system tracing if a 87 [root@f32 ~]# cd /sys/kernel/tracing/ 88 [root@f32 tracing]# echo timerlat > current_tracer 89 [root@f32 tracing]# echo 1 > events/osnoise/enable [all …]
|
| D | uprobetracer.rst | 2 Uprobe-tracer: Uprobe-based Event Tracing 15 /sys/kernel/tracing/uprobe_events, and enable it via 16 /sys/kernel/tracing/events/uprobes/<EVENT>/enable. 21 You can also use /sys/kernel/tracing/dynamic_events instead of 82 /sys/kernel/tracing/uprobe_profile. The first column is the filename, 90 echo 'p /bin/bash:0x4245c0' > /sys/kernel/tracing/uprobe_events 94 echo 'r /bin/bash:0x4245c0' > /sys/kernel/tracing/uprobe_events 98 echo '-:p_bash_0x4245c0' >> /sys/kernel/tracing/uprobe_events 102 cat /sys/kernel/tracing/uprobe_events 106 echo > /sys/kernel/tracing/uprobe_events [all …]
|
| D | hwlat_detector.rst | 38 Write the ASCII text "hwlat" into the current_tracer file of the tracing system 39 (mounted at /sys/kernel/tracing or /sys/kernel/tracing). It is possible to 45 # echo hwlat > /sys/kernel/tracing/current_tracer 46 # echo 100 > /sys/kernel/tracing/tracing_thresh 48 The /sys/kernel/tracing/hwlat_detector interface contains the following files: 58 observed then the data will be written to the tracing ring buffer. 70 The following tracing directory files are used by the hwlat_detector: 72 in /sys/kernel/tracing:
|
| /kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/ |
| D | cpuisolation05.sh | 28 tracing_on=$(cat /sys/kernel/debug/tracing/tracing_on) 29 eval_need=$(cat /sys/kernel/debug/tracing/events/sched/core_ctl_eval_need/enable) 30 set_busy=$(cat /sys/kernel/debug/tracing/events/sched/core_ctl_set_busy/enable) 31 update_nr_need=$(cat /sys/kernel/debug/tracing/events/sched/core_ctl_update_nr_need/enable) 37 echo 1 > /sys/kernel/debug/tracing/tracing_on 38 echo 1 > /sys/kernel/debug/tracing/events/sched/core_ctl_eval_need/enable 39 echo 1 > /sys/kernel/debug/tracing/events/sched/core_ctl_set_busy/enable 40 echo 1 > /sys/kernel/debug/tracing/events/sched/core_ctl_update_nr_need/enable 70 echo $tracing_on > /sys/kernel/debug/tracing/tracing_on 71 echo $eval_need > /sys/kernel/debug/tracing/events/sched/core_ctl_eval_need/enable [all …]
|
| /kernel/linux/linux-6.6/Documentation/core-api/irq/ |
| D | irqflags-tracing.rst | 2 IRQ-flags state tracing 7 The "irq-flags tracing" feature "traces" hardirq and softirq state, in 21 state changes. But an architecture can be irq-flags-tracing enabled in a 30 irq-flags-tracing support: 37 irq-flags-tracing is spent in this state: look at the lockdep 40 lockdep complaint in the irq-flags-tracing functions arch support is 43 excluded from the irq-tracing [and lock validation] mechanism via 46 In general there is no risk from having an incomplete irq-flags-tracing 49 should be no crashes due to irq-tracing bugs. (except if the assembly
|
| /kernel/linux/linux-5.10/Documentation/core-api/irq/ |
| D | irqflags-tracing.rst | 2 IRQ-flags state tracing 7 The "irq-flags tracing" feature "traces" hardirq and softirq state, in 21 state changes. But an architecture can be irq-flags-tracing enabled in a 30 irq-flags-tracing support: 37 irq-flags-tracing is spent in this state: look at the lockdep 40 lockdep complaint in the irq-flags-tracing functions arch support is 43 excluded from the irq-tracing [and lock validation] mechanism via 46 In general there is no risk from having an incomplete irq-flags-tracing 49 should be no crashes due to irq-tracing bugs. (except if the assembly
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
| D | stress_code_patching.sh | 13 if [ ! -e "$DEBUFS_DIR/tracing/current_tracer" ] 15 echo "Tracing files not found, skipping" 1>&2 22 if grep -q "FUNCTION TRACING IS CORRUPTED" "$DEBUFS_DIR/tracing/trace" 33 echo function > $DEBUFS_DIR/tracing/current_tracer 34 echo nop > $DEBUFS_DIR/tracing/current_tracer 41 echo nop > $DEBUFS_DIR/tracing/current_tracer
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
| D | ia_css_debug.h | 35 /*! Level for tracing errors */ 37 /*! Level for tracing warnings */ 39 /*! Level for tracing debug messages */ 41 /*! Level for tracing trace messages a.o. ia_css public function calls */ 43 /*! Level for tracing trace messages a.o. ia_css private function calls */ 45 /*! Level for tracing parameter messages e.g. in and out params of functions */ 47 /*! Level for tracing info messages */ 50 /* Global variable which controls the verbosity levels of the debug tracing */ 127 /*! @brief Function for tracing to the provided printf function in the 164 * Dumps the isp hardware state to tracing output. [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
| D | ia_css_debug.h | 34 /*! Level for tracing errors */ 36 /*! Level for tracing warnings */ 38 /*! Level for tracing debug messages */ 40 /*! Level for tracing trace messages a.o. ia_css public function calls */ 42 /*! Level for tracing trace messages a.o. ia_css private function calls */ 44 /*! Level for tracing parameter messages e.g. in and out params of functions */ 46 /*! Level for tracing info messages */ 49 /* Global variable which controls the verbosity levels of the debug tracing */ 126 /*! @brief Function for tracing to the provided printf function in the 163 * Dumps the isp hardware state to tracing output. [all …]
|
| /kernel/linux/linux-6.6/Documentation/firmware-guide/acpi/ |
| D | method-tracing.rst | 15 method tracing facility. 20 ACPICA provides method tracing capability. And two functions are 80 There are special log entries added by the method tracing facility at 153 Note that all above method tracing facility related module parameters can 163 All method tracing functions can be configured via ACPI module 173 The temporary debug_layer used when the tracing feature is enabled. 179 The temporary debug_level used when the tracing feature is enabled. 185 The status of the tracing feature. 187 Users can enable/disable this debug tracing feature by executing 195 Disable the method tracing feature. [all …]
|
| /kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/ |
| D | method-tracing.rst | 15 method tracing facility. 20 ACPICA provides method tracing capability. And two functions are 80 There are special log entries added by the method tracing facility at 153 Note that all above method tracing facility related module parameters can 163 All method tracing functions can be configured via ACPI module 173 The temporary debug_layer used when the tracing feature is enabled. 179 The temporary debug_level used when the tracing feature is enabled. 185 The status of the tracing feature. 187 Users can enable/disable this debug tracing feature by executing 195 Disable the method tracing feature. [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/00basic/ |
| D | snapshot.tc | 2 # description: Snapshot and tracing setting 6 echo "Set tracing off" 15 echo "Ensure keep tracing off" 18 echo "Set tracing on" 24 echo "Ensure keep tracing on"
|