| /kernel/linux/linux-5.10/arch/s390/include/asm/ |
| D | debug.h | 3 * S/390 debug facility 17 #define DEBUG_MAX_LEVEL 6 /* debug levels range from 0 to 6 */ 18 #define DEBUG_OFF_LEVEL -1 /* level where debug is switched off */ 22 #define DEBUG_DEFAULT_LEVEL 3 /* initial debug level */ 24 #define DEBUG_DIR_ROOT "s390dbf" /* name of debug root directory in proc fs */ 29 #define __DEBUG_FEATURE_VERSION 3 /* version of debug feature */ 105 /* Debug Feature API: */ 123 * debug_level_enabled() - Returns true if debug events for the specified 126 * @id: handle for debug log 127 * @level: debug level [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
| D | debug_regs.c | 3 * KVM guest debug register tests 18 /* For testing data access debug BP */ 80 struct kvm_guest_debug debug; in main() local 104 memset(&debug, 0, sizeof(debug)); in main() 105 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main() 106 vcpu_guest_debug_set(vcpu, &debug); in main() 109 run->debug.arch.exception == BP_VECTOR && in main() 110 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main() 112 run->exit_reason, run->debug.arch.exception, in main() 113 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main() [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/s390/ |
| D | s390dbf.rst | 2 S390 Debug Feature 6 - arch/s390/kernel/debug.c 7 - arch/s390/include/asm/debug.h 11 The goal of this feature is to provide a kernel debug logging API 13 (e.g. device drivers) can have one separate debug log. 14 One purpose of this is to inspect the debug logs after a production system crash 18 it is possible to look at the debug logs on a live system via the Linux 21 The debug feature may also very useful for kernel and driver development. 25 Kernel components (e.g. device drivers) can register themselves at the debug 28 debug log for the caller. For each debug log exists a number of debug areas [all …]
|
| /kernel/linux/linux-5.10/Documentation/s390/ |
| D | s390dbf.rst | 2 S390 Debug Feature 6 - arch/s390/kernel/debug.c 7 - arch/s390/include/asm/debug.h 11 The goal of this feature is to provide a kernel debug logging API 13 (e.g. device drivers) can have one separate debug log. 14 One purpose of this is to inspect the debug logs after a production system crash 18 it is possible to look at the debug logs on a live system via the Linux 21 The debug feature may also very useful for kernel and driver development. 25 Kernel components (e.g. device drivers) can register themselves at the debug 28 debug log for the caller. For each debug log exists a number of debug areas [all …]
|
| /kernel/linux/linux-6.6/arch/s390/include/asm/ |
| D | debug.h | 3 * S/390 debug facility 18 #define DEBUG_MAX_LEVEL 6 /* debug levels range from 0 to 6 */ 19 #define DEBUG_OFF_LEVEL -1 /* level where debug is switched off */ 23 #define DEBUG_DEFAULT_LEVEL 3 /* initial debug level */ 25 #define DEBUG_DIR_ROOT "s390dbf" /* name of debug root directory in proc fs */ 30 #define __DEBUG_FEATURE_VERSION 3 /* version of debug feature */ 106 /* Debug Feature API: */ 124 * debug_level_enabled() - Returns true if debug events for the specified 127 * @id: handle for debug log 128 * @level: debug level [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
| D | dp_debug.c | 35 struct dp_debug_private *debug = seq->private; in dp_debug_show() local 40 if (!debug) in dp_debug_show() 43 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_show() 47 debug->panel->link_info.rate); in dp_debug_show() 49 debug->panel->link_info.num_lanes); in dp_debug_show() 51 debug->panel->link_info.capabilities); in dp_debug_show() 65 debug->panel->dp_mode.h_active_low, in dp_debug_show() 66 debug->panel->dp_mode.v_active_low); in dp_debug_show() 74 debug->panel->dp_mode.bpp); in dp_debug_show() 78 debug->link->sink_request); in dp_debug_show() [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/coresight/ |
| D | coresight-cpu-debug.rst | 2 Coresight CPU Debug Module 11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual 12 (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate 13 debug module and it is mainly used for two modes: self-hosted debug and 14 external debug. Usually the external debug mode is well known as the external 16 explore debugging method which rely on self-hosted debug mode, this document 19 The debug module provides sample-based profiling extension, which can be used 21 every CPU has one dedicated debug module to be connected. Based on self-hosted 22 debug mechanism, Linux kernel can access these related registers from mmio 36 - At the time this documentation was written, the debug driver mainly relies on [all …]
|
| /kernel/linux/linux-6.6/Documentation/trace/coresight/ |
| D | coresight-cpu-debug.rst | 2 Coresight CPU Debug Module 11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual 12 (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate 13 debug module and it is mainly used for two modes: self-hosted debug and 14 external debug. Usually the external debug mode is well known as the external 16 explore debugging method which rely on self-hosted debug mode, this document 19 The debug module provides sample-based profiling extension, which can be used 21 every CPU has one dedicated debug module to be connected. Based on self-hosted 22 debug mechanism, Linux kernel can access these related registers from mmio 36 - At the time this documentation was written, the debug driver mainly relies on [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
| D | ptrace-adv.c | 13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step() 14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step() 25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step() 26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step() 40 * And, after doing so, if all debug flags are off, turn in user_disable_single_step() 43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step() 47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step() 48 task->thread.debug.dbcr1)) { in user_disable_single_step() 50 * All debug events were off..... in user_disable_single_step() 52 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
| D | ptrace-adv.c | 13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step() 14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step() 25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step() 26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step() 40 * And, after doing so, if all debug flags are off, turn in user_disable_single_step() 43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step() 47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step() 48 task->thread.debug.dbcr1)) { in user_disable_single_step() 50 * All debug events were off..... in user_disable_single_step() 52 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
| D | debug_regs.c | 3 * KVM guest debug register tests 17 /* For testing data access debug BP */ 54 #define CLEAR_DEBUG() memset(&debug, 0, sizeof(debug)) 55 #define APPLY_DEBUG() vcpu_set_guest_debug(vm, VCPU_ID, &debug) 66 struct kvm_guest_debug debug; in main() local 93 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main() 97 run->debug.arch.exception == BP_VECTOR && in main() 98 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main() 100 run->exit_reason, run->debug.arch.exception, in main() 101 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
| D | dp_debug.c | 49 struct dp_debug_private *debug = file->private_data; in dp_debug_read_info() local 57 if (!debug) in dp_debug_read_info() 67 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_read_info() 75 debug->panel->max_pclk_khz); in dp_debug_read_info() 81 debug->panel->link_info.rate); in dp_debug_read_info() 87 debug->panel->link_info.num_lanes); in dp_debug_read_info() 93 debug->panel->link_info.capabilities); in dp_debug_read_info() 127 debug->panel->dp_mode.h_active_low, in dp_debug_read_info() 128 debug->panel->dp_mode.v_active_low); in dp_debug_read_info() 152 debug->panel->dp_mode.bpp); in dp_debug_read_info() [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/usb/ |
| D | usb3-debug-port.rst | 2 USB3 debug port 11 This is a HOWTO for using the USB3 debug port on x86 systems. 14 debug port, you need to:: 16 1) check whether any USB3 debug port is available in 24 The xHCI debug capability (DbC) is an optional but standalone 28 When DbC is initialized and enabled, it will present a debug 29 device through the debug port (normally the first USB3 30 super-speed port). The debug device is fully compliant with 32 performance full-duplex serial link between the debug target 33 (the system under debugging) and a debug host. [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/usb/ |
| D | usb3-debug-port.rst | 2 USB3 debug port 11 This is a HOWTO for using the USB3 debug port on x86 systems. 14 debug port, you need to:: 16 1) check whether any USB3 debug port is available in 24 The xHCI debug capability (DbC) is an optional but standalone 28 When DbC is initialized and enabled, it will present a debug 29 device through the debug port (normally the first USB3 30 super-speed port). The debug device is fully compliant with 32 performance full-duplex serial link between the debug target 33 (the system under debugging) and a debug host. [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | debugfs-hisi-hpre | 1 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs 4 Description: Dump debug registers from the HPRE cluster. 7 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl 11 and then we can read the debug information of the core. 14 What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en 17 Description: HPRE cores debug registers read clear control. 1 means enable 23 What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm 30 What: /sys/kernel/debug/hisi_hpre/<bdf>/alg_qos 40 What: /sys/kernel/debug/hisi_hpre/<bdf>/regs 43 Description: Dump debug registers from the HPRE. [all …]
|
| D | debugfs-hisi-zip | 1 What: /sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs 4 Description: Dump of compression cores related debug registers. 7 What: /sys/kernel/debug/hisi_zip/<bdf>/decomp_core[0-5]/regs 10 Description: Dump of decompression cores related debug registers. 13 What: /sys/kernel/debug/hisi_zip/<bdf>/clear_enable 16 Description: Compression/decompression core debug registers read clear 22 What: /sys/kernel/debug/hisi_zip/<bdf>/current_qm 29 What: /sys/kernel/debug/hisi_zip/<bdf>/alg_qos 39 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs 42 Description: Dump of QM related debug registers. [all …]
|
| D | debugfs-driver-habanalabs | 1 What: /sys/kernel/debug/habanalabs/hl<n>/addr 11 What: /sys/kernel/debug/habanalabs/hl<n>/clk_gate 17 What: /sys/kernel/debug/habanalabs/hl<n>/command_buffers 24 What: /sys/kernel/debug/habanalabs/hl<n>/command_submission 31 What: /sys/kernel/debug/habanalabs/hl<n>/command_submission_jobs 38 What: /sys/kernel/debug/habanalabs/hl<n>/data32 53 What: /sys/kernel/debug/habanalabs/hl<n>/data64 68 What: /sys/kernel/debug/habanalabs/hl<n>/data_dma 86 What: /sys/kernel/debug/habanalabs/hl<n>/device 94 What: /sys/kernel/debug/habanalabs/hl<n>/device_release_watchdog_timeout [all …]
|
| D | debugfs-hisi-sec | 1 What: /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable 5 the SEC debug registers. 9 What: /sys/kernel/debug/hisi_sec2/<bdf>/current_qm 17 What: /sys/kernel/debug/hisi_sec2/<bdf>/alg_qos 27 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs 30 Description: Dump of QM related debug registers. 32 has one debug register. 34 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q 38 queue to show its debug registers in above 'regs'. 41 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable [all …]
|
| /kernel/linux/linux-5.10/include/linux/wimax/ |
| D | debug.h | 4 * Collection of tools to manage debug operations. 14 * debug action (like printing a message) if the current debug level 22 * A call to d_test(L) (L being the target debug level) returns true 23 * if the action should be taken because the current debug levels 30 * DEBUG LEVELS 34 * Convention sets 0 as "no debug" (so an action marked as debug level 0 35 * will always be taken). The increasing debug levels are used for 48 * - a debug-levels.h header file that declares the list of 52 * - some (optional) .c code to manipulate the runtime debug levels 55 * The debug-levels.h file would look like: [all …]
|
| /kernel/linux/linux-5.10/arch/arm/ |
| D | Kconfig.debug | 132 Say Y here if you want the debug print routines to direct 190 Say Y here if you want the debug print routines to direct 219 Say Y here if you want the debug print routines to direct 229 This low level debug works for Broadcom 238 bool "Marvell Berlin SoC Debug UART" 246 bool "Use BRCMSTB UART for low-level debug" 249 Say Y here if you want the debug print routines to direct 261 Say Y here if you want the debug print routines to direct 268 Say Y here if you want the debug print routines to direct 276 Say Y here if you want the debug print routines to direct [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | debugfs-hisi-hpre | 1 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs 4 Description: Dump debug registers from the HPRE cluster. 7 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl 11 and then we can read the debug information of the core. 14 What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en 17 Description: HPRE cores debug registers read clear control. 1 means enable 23 What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm 30 What: /sys/kernel/debug/hisi_hpre/<bdf>/regs 33 Description: Dump debug registers from the HPRE. 36 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs [all …]
|
| D | debugfs-hisi-zip | 1 What: /sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs 4 Description: Dump of compression cores related debug registers. 7 What: /sys/kernel/debug/hisi_zip/<bdf>/decomp_core[0-5]/regs 10 Description: Dump of decompression cores related debug registers. 13 What: /sys/kernel/debug/hisi_zip/<bdf>/clear_enable 16 Description: Compression/decompression core debug registers read clear 22 What: /sys/kernel/debug/hisi_zip/<bdf>/current_qm 29 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs 32 Description: Dump of QM related debug registers. 34 has one debug register. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/ |
| D | arm,coresight-cpu-debug.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-cpu-debug.yaml# 7 title: CoreSight CPU Debug Component 16 CoreSight CPU debug component are compliant with the ARMv8 architecture 17 reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug'. The 18 external debug module is mainly used for two modes: self-hosted debug and 19 external debug, and it can be accessed from mmio region from Coresight and 20 eventually the debug module connects with CPU for debugging. And the debug 23 has one dedicated debug module to be connected. 29 const: arm,coresight-cpu-debug 39 - const: arm,coresight-cpu-debug [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | coresight-cpu-debug.txt | 1 * CoreSight CPU Debug Component: 3 CoreSight CPU debug component are compliant with the ARMv8 architecture 4 reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug'. The 5 external debug module is mainly used for two modes: self-hosted debug and 6 external debug, and it can be accessed from mmio region from Coresight 7 and eventually the debug module connects with CPU for debugging. And the 8 debug module provides sample-based profiling extension, which can be used 10 usually every CPU has one dedicated debug module to be connected. 14 - compatible : should be "arm,coresight-cpu-debug"; supplemented with 25 mandatory. The interface between the debug logic and the [all …]
|
| /kernel/linux/linux-5.10/Documentation/fault-injection/ |
| D | fault-injection.rst | 36 debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request 42 under /sys/kernel/debug/fail_function. No boot option supported. 47 debugfs entries under /sys/kernel/debug/nvme*/fault_inject. The default 61 - /sys/kernel/debug/fail*/probability: 69 /sys/kernel/debug/fail*/interval for such testcases. 71 - /sys/kernel/debug/fail*/interval: 79 - /sys/kernel/debug/fail*/times: 84 - /sys/kernel/debug/fail*/space: 90 - /sys/kernel/debug/fail*/verbose 97 to debug the problems revealed by fault injection. [all …]
|