| /Linux-v5.4/arch/s390/include/asm/ | 
| D | debug.h | 3  *   S/390 debug facility 15 #include <uapi/asm/debug.h> 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 */ 96 /* Debug Feature API: */ 114  * debug_level_enabled() - Returns true if debug events for the specified 117  * @id:		handle for debug log 118  * @level:	debug level [all …] 
 | 
| /Linux-v5.4/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 …] 
 | 
| /Linux-v5.4/Documentation/trace/ | 
| 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 …] 
 | 
| /Linux-v5.4/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 …] 
 | 
| /Linux-v5.4/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 …] 
 | 
| /Linux-v5.4/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 …] 
 | 
| /Linux-v5.4/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 …] 
 | 
| /Linux-v5.4/Documentation/fault-injection/ | 
| D | fault-injection.rst | 32   debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request 38   under /sys/kernel/debug/fail_function. No boot option supported. 43   debugfs entries under /sys/kernel/debug/nvme*/fault_inject. The default 57 - /sys/kernel/debug/fail*/probability: 65 	/sys/kernel/debug/fail*/interval for such testcases. 67 - /sys/kernel/debug/fail*/interval: 75 - /sys/kernel/debug/fail*/times: 80 - /sys/kernel/debug/fail*/space: 86 - /sys/kernel/debug/fail*/verbose 93 	to debug the problems revealed by fault injection. [all …] 
 | 
| /Linux-v5.4/Documentation/admin-guide/wimax/ | 
| D | wimax.rst | 44    files will appear in /sys/kernel/debug/wimax:wmxX can tweak for 47 2.1. Obtaining debug information: debugfs entries 50    The WiMAX stack is compiled, by default, with debug messages that can 54    debug settings. 60 2.1.1. Increasing debug output 63    The files named *dl_* indicate knobs for controlling the debug output 66 	# find /sys/kernel/debug/wimax\:wmx0 -name \*dl_\* 67 	/sys/kernel/debug/wimax:wmx0/wimax_dl_stack 68 	/sys/kernel/debug/wimax:wmx0/wimax_dl_op_rfkill 69 	/sys/kernel/debug/wimax:wmx0/wimax_dl_op_reset [all …] 
 | 
| D | i2400m.rst | 162 5.2. Debug operations: debugfs entries 166    debug settings. There are three main container directories where 170      * /sys/kernel/debug/wimax:DEVNAME/ for the generic WiMAX stack 172      * /sys/kernel/debug/wimax:DEVNAME/i2400m for the i2400m generic 174      * /sys/kernel/debug/wimax:DEVNAME/i2400m-usb (or -sdio) for the 178    /sys/kernel/debug, those paths will change. 180 5.2.1. Increasing debug output 183    The files named *dl_* indicate knobs for controlling the debug output 186 	# find /sys/kernel/debug/wimax\:wmx0 -name \*dl_\* 187 	/sys/kernel/debug/wimax:wmx0/i2400m-usb/dl_tx [all …] 
 | 
| /Linux-v5.4/drivers/net/wireless/st/cw1200/ | 
| D | debug.h | 35 	++priv->debug->tx;  in cw1200_debug_txed() 40 	++priv->debug->tx_agg;  in cw1200_debug_txed_agg() 46 	++priv->debug->tx_multi;  in cw1200_debug_txed_multi() 47 	priv->debug->tx_multi_frames += count;  in cw1200_debug_txed_multi() 52 	++priv->debug->rx;  in cw1200_debug_rxed() 57 	++priv->debug->rx_agg;  in cw1200_debug_rxed_agg() 62 	++priv->debug->tx_cache_miss;  in cw1200_debug_tx_cache_miss() 67 	++priv->debug->tx_align;  in cw1200_debug_tx_align() 72 	++priv->debug->tx_ttl;  in cw1200_debug_tx_ttl() 77 	++priv->debug->tx_burst;  in cw1200_debug_tx_burst() [all …] 
 | 
| /Linux-v5.4/Documentation/ABI/testing/ | 
| 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/qm_regs 32 Description:    Dump of QM related debug registers. 34 		has one debug register. [all …] 
 | 
| D | debugfs-driver-habanalabs | 1 What:           /sys/kernel/debug/habanalabs/hl<n>/addr 11 What:           /sys/kernel/debug/habanalabs/hl<n>/command_buffers 18 What:           /sys/kernel/debug/habanalabs/hl<n>/command_submission 25 What:           /sys/kernel/debug/habanalabs/hl<n>/command_submission_jobs 32 What:           /sys/kernel/debug/habanalabs/hl<n>/data32 46 What:           /sys/kernel/debug/habanalabs/hl<n>/device 54 What:           /sys/kernel/debug/habanalabs/hl<n>/engines 61 What:           /sys/kernel/debug/habanalabs/hl<n>/i2c_addr 68 What:           /sys/kernel/debug/habanalabs/hl<n>/i2c_bus 75 What:           /sys/kernel/debug/habanalabs/hl<n>/i2c_data [all …] 
 | 
| D | debugfs-driver-genwqe | 1 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/ddcb_info 6 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/curr_regs 12 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid0 18 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid1 24 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid2 30 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/prev_regs 37 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid0 43 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid1 49 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid2 55 What:           /sys/kernel/debug/genwqe/genwqe<n>_card/info [all …] 
 | 
| /Linux-v5.4/drivers/net/wireless/ath/ath9k/ | 
| D | debug.c | 32 		sc->debug.stats.istats.sync_cause_all++;  in ath9k_debug_sync_cause() 34 		sc->debug.stats.istats.sync_rtc_irq++;  in ath9k_debug_sync_cause() 36 		sc->debug.stats.istats.sync_mac_irq++;  in ath9k_debug_sync_cause() 38 		sc->debug.stats.istats.eeprom_illegal_access++;  in ath9k_debug_sync_cause() 40 		sc->debug.stats.istats.apb_timeout++;  in ath9k_debug_sync_cause() 42 		sc->debug.stats.istats.pci_mode_conflict++;  in ath9k_debug_sync_cause() 44 		sc->debug.stats.istats.host1_fatal++;  in ath9k_debug_sync_cause() 46 		sc->debug.stats.istats.host1_perr++;  in ath9k_debug_sync_cause() 48 		sc->debug.stats.istats.trcv_fifo_perr++;  in ath9k_debug_sync_cause() 50 		sc->debug.stats.istats.radm_cpl_ep++;  in ath9k_debug_sync_cause() [all …] 
 | 
| D | htc_drv_debug.c | 202 			 priv->debug.tx_stats.buf_queued);  in read_file_xmit() 205 			 priv->debug.tx_stats.buf_completed);  in read_file_xmit() 208 			 priv->debug.tx_stats.skb_queued);  in read_file_xmit() 211 			 priv->debug.tx_stats.skb_success);  in read_file_xmit() 214 			 priv->debug.tx_stats.skb_failed);  in read_file_xmit() 217 			 priv->debug.tx_stats.cab_queued);  in read_file_xmit() 221 			 priv->debug.tx_stats.queue_stats[IEEE80211_AC_BE]);  in read_file_xmit() 224 			 priv->debug.tx_stats.queue_stats[IEEE80211_AC_BK]);  in read_file_xmit() 227 			 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VI]);  in read_file_xmit() 230 			 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VO]);  in read_file_xmit() [all …] 
 | 
| /Linux-v5.4/drivers/pci/hotplug/ | 
| D | ibmphp_ebda.c | 114 		debug("%s - slot_min = %x\n", __func__, ptr->slot_min);  in print_bus_info() 115 		debug("%s - slot_max = %x\n", __func__, ptr->slot_max);  in print_bus_info() 116 		debug("%s - slot_count = %x\n", __func__, ptr->slot_count);  in print_bus_info() 117 		debug("%s - bus# = %x\n", __func__, ptr->busno);  in print_bus_info() 118 		debug("%s - current_speed = %x\n", __func__, ptr->current_speed);  in print_bus_info() 119 		debug("%s - controller_id = %x\n", __func__, ptr->controller_id);  in print_bus_info() 121 		debug("%s - slots_at_33_conv = %x\n", __func__, ptr->slots_at_33_conv);  in print_bus_info() 122 		debug("%s - slots_at_66_conv = %x\n", __func__, ptr->slots_at_66_conv);  in print_bus_info() 123 		debug("%s - slots_at_66_pcix = %x\n", __func__, ptr->slots_at_66_pcix);  in print_bus_info() 124 		debug("%s - slots_at_100_pcix = %x\n", __func__, ptr->slots_at_100_pcix);  in print_bus_info() [all …] 
 | 
| D | ibmphp_core.c | 39 static bool debug;  variable 40 module_param(debug, bool, S_IRUGO | S_IWUSR); 41 MODULE_PARM_DESC(debug, "Debugging mode enabled or not"); 66 	debug("options = %x\n", slot_cur->ctrl->options);  in get_cur_bus_info() 67 	debug("revision = %x\n", slot_cur->ctrl->revision);  in get_cur_bus_info() 82 	debug("busstatus = %x, bus_speed = %x, bus_mode = %x\n",  in get_cur_bus_info() 148 			debug("(*cur_slot)->irq[0] = %x\n",  in ibmphp_init_devno() 150 			debug("(*cur_slot)->irq[1] = %x\n",  in ibmphp_init_devno() 152 			debug("(*cur_slot)->irq[2] = %x\n",  in ibmphp_init_devno() 154 			debug("(*cur_slot)->irq[3] = %x\n",  in ibmphp_init_devno() [all …] 
 | 
| /Linux-v5.4/Documentation/admin-guide/ | 
| D | btmrvl.rst | 10 Path:	/debug/btmrvl/config/ 27 		echo 0xff80 > /debug/btmrvl/config/gpiogap 28 		echo 1 > /debug/btmrvl/config/hscfgcmd 31 		echo 0x03ff >  /debug/btmrvl/config/gpiogap 32 		echo 1 > /debug/btmrvl/config/hscfgcmd 45 		echo 1 > /debug/btmrvl/config/psmode 46 		echo 1 > /debug/btmrvl/config/pscmd 49 		echo 0 > /debug/btmrvl/config/psmode 50 		echo 1 > /debug/btmrvl/config/pscmd 64 		echo 1 > /debug/btmrvl/config/hsmode [all …] 
 | 
| /Linux-v5.4/drivers/gpu/drm/i915/ | 
| D | intel_runtime_pm.c | 81 	spin_lock_init(&rpm->debug.lock);  in init_intel_runtime_pm_wakeref() 97 	spin_lock_irqsave(&rpm->debug.lock, flags);  in track_intel_runtime_pm_wakeref() 99 	if (!rpm->debug.count)  in track_intel_runtime_pm_wakeref() 100 		rpm->debug.last_acquire = stack;  in track_intel_runtime_pm_wakeref() 102 	stacks = krealloc(rpm->debug.owners,  in track_intel_runtime_pm_wakeref() 103 			  (rpm->debug.count + 1) * sizeof(*stacks),  in track_intel_runtime_pm_wakeref() 106 		stacks[rpm->debug.count++] = stack;  in track_intel_runtime_pm_wakeref() 107 		rpm->debug.owners = stacks;  in track_intel_runtime_pm_wakeref() 112 	spin_unlock_irqrestore(&rpm->debug.lock, flags);  in track_intel_runtime_pm_wakeref() 126 	spin_lock_irqsave(&rpm->debug.lock, flags);  in untrack_intel_runtime_pm_wakeref() [all …] 
 | 
| /Linux-v5.4/Documentation/x86/ | 
| D | earlyprintk.rst | 8 USB2 Debug port key and a debug cable, on x86 systems. 10 You need two computers, the 'USB debug key' special gadget and 13   [host/target] <-------> [USB debug key] <-------> [client/console] 18   a) Host/target system needs to have USB debug port capability. 20      You can check this capability by looking at a 'Debug port' bit in 35                Capabilities: [58] Debug port: BAR=1 offset=00a0 42        If your system does not list a debug port capability then you probably 43        won't be able to use the USB debug key. 45   b) You also need a NetChip USB debug cable/key: 55      debug port on the "host/target" system. You cannot use a USB hub in [all …] 
 | 
| /Linux-v5.4/fs/orangefs/ | 
| D | orangefs-debugfs.c | 3  * What:		/sys/kernel/debug/orangefs/debug-help 7  * 			List of client and kernel debug keywords. 10  * What:		/sys/kernel/debug/orangefs/client-debug 14  * 			Debug setting for "the client", the userspace 18  * What:		/sys/kernel/debug/orangefs/kernel-debug 22  * 			Debug setting for the orangefs kernel module. 25  * 			of keywords, from debug-help can be catted to 26  * 			client-debug or kernel-debug. 29  * 			for client-debug. Setting client-debug to "all" 35  * 			"none" and "all" are similar settings for kernel-debug [all …] 
 | 
| /Linux-v5.4/arch/arm64/kvm/ | 
| D | debug.c | 3  * Debug and Guest Debug support 12 #include <asm/debug-monitors.h> 29  * For some debug operations we need to tweak some guest registers. As 57  * kvm_arm_init_debug - grab what we need for debug 72  * kvm_arm_reset_debug_ptr - reset the debug ptr to point to the vcpu state 81  * kvm_arm_setup_debug - set up debug related stuff 86  * debug related registers. Currently this just ensures we will trap 89  *  - Debug ROM Address (MDCR_EL2_TDRA) 93  * Additionally, KVM only traps guest accesses to the debug registers if 98  * debug registers. [all …] 
 | 
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ | 
| D | debug.c | 15 #include "debug.h" 53 	ath10k_info(ar, "kconfig debug %d debugfs %d tracing %d dfs %d testmode %d\n",  in ath10k_debug_print_hwfw_info() 245 	ar->debug.fw_stats_done = false;  in ath10k_debug_fw_stats_reset() 246 	ar->debug.fw_stats.extended = false;  in ath10k_debug_fw_stats_reset() 247 	ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs);  in ath10k_debug_fw_stats_reset() 248 	ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs);  in ath10k_debug_fw_stats_reset() 249 	ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers);  in ath10k_debug_fw_stats_reset() 250 	ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd);  in ath10k_debug_fw_stats_reset() 288 	if (ar->debug.fw_stats_done) {  in ath10k_debug_fw_stats_process() 295 	num_peers = ath10k_wmi_fw_stats_num_peers(&ar->debug.fw_stats.peers);  in ath10k_debug_fw_stats_process() [all …] 
 | 
| /Linux-v5.4/drivers/net/fddi/skfp/ | 
| D | smtinit.c | 28 /* define global debug variable */ 29 #if defined(DEBUG) && !defined(DEBUG_BRD) 30 struct smt_debug debug;  variable 69 #if defined(DEBUG) && !defined(DEBUG_BRD)  in init_smt() 70 	debug.d_smt = 0 ;  in init_smt() 71 	debug.d_smtf = 0 ;  in init_smt() 72 	debug.d_rmt = 0 ;  in init_smt() 73 	debug.d_ecm = 0 ;  in init_smt() 74 	debug.d_pcm = 0 ;  in init_smt() 75 	debug.d_cfm = 0 ;  in init_smt() [all …] 
 |