Home
last modified time | relevance | path

Searched refs:debug (Results 1 – 25 of 1424) sorted by relevance

12345678910>>...57

/Linux-v4.19/Documentation/s390/
Ds390dbf.txt4 files: arch/s390/kernel/debug.c
5 arch/s390/include/asm/debug.h
9 The goal of this feature is to provide a kernel debug logging API
11 (e.g. device drivers) can have one separate debug log.
12 One purpose of this is to inspect the debug logs after a production system crash
15 it is possible to look at the debug logs on a live system via the Linux
17 The debug feature may also very useful for kernel and driver development.
21 Kernel components (e.g. device drivers) can register themselves at the debug
23 debug log for the caller. For each debug log exists a number of debug areas
24 where exactly one is active at one time. Each debug area consists of contiguous
[all …]
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Ddebug.h38 ++priv->debug->tx; in cw1200_debug_txed()
43 ++priv->debug->tx_agg; in cw1200_debug_txed_agg()
49 ++priv->debug->tx_multi; in cw1200_debug_txed_multi()
50 priv->debug->tx_multi_frames += count; in cw1200_debug_txed_multi()
55 ++priv->debug->rx; in cw1200_debug_rxed()
60 ++priv->debug->rx_agg; in cw1200_debug_rxed_agg()
65 ++priv->debug->tx_cache_miss; in cw1200_debug_tx_cache_miss()
70 ++priv->debug->tx_align; in cw1200_debug_tx_align()
75 ++priv->debug->tx_ttl; in cw1200_debug_tx_ttl()
80 ++priv->debug->tx_burst; in cw1200_debug_tx_burst()
[all …]
/Linux-v4.19/Documentation/trace/
Dcoresight-cpu-debug.txt10 Coresight CPU debug module is defined in ARMv8-a architecture reference manual
11 (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate
12 debug module and it is mainly used for two modes: self-hosted debug and
13 external debug. Usually the external debug mode is well known as the external
15 explore debugging method which rely on self-hosted debug mode, this document
18 The debug module provides sample-based profiling extension, which can be used
20 every CPU has one dedicated debug module to be connected. Based on self-hosted
21 debug mechanism, Linux kernel can access these related registers from mmio
35 - At the time this documentation was written, the debug driver mainly relies on
68 Before accessing debug registers, we should ensure the clock and power domain
[all …]
/Linux-v4.19/drivers/pci/hotplug/
Dibmphp_ebda.c114 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 …]
Dibmphp_core.c39 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 …]
Dibmphp_pci.c81 debug("inside configure_card, func->busno = %x\n", func->busno); in ibmphp_configure_card()
98 debug("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->function = %x\n", in ibmphp_configure_card()
103 debug("vendor_id is %x\n", vendor_id); in ibmphp_configure_card()
106 debug("found valid device, vendor_id = %x\n", vendor_id); in ibmphp_configure_card()
119 debug("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card()
132debug("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, c… in ibmphp_configure_card()
233 debug("class now is %x\n", class); in ibmphp_configure_card()
242 debug("cur_func->busno b4 configure_bridge is %x\n", cur_func->busno); in ibmphp_configure_card()
256 debug("cur_func->busno = %x, device = %x, function = %x\n", in ibmphp_configure_card()
259 debug("after configuring bridge..., sec_number = %x\n", sec_number); in ibmphp_configure_card()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Ddebug.c32 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 …]
Dhtc_drv_debug.c202 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-v4.19/Documentation/driver-api/usb/
Dusb3-debug-port.rst2 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-v4.19/Documentation/devicetree/bindings/arm/
Dcoresight-cpu-debug.txt3 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
29 - cpu : the CPU phandle the debug module is affined to. When omitted
[all …]
/Linux-v4.19/drivers/net/fddi/skfp/
Dsmtinit.c34 struct smt_debug debug; variable
74 debug.d_smt = 0 ; in init_smt()
75 debug.d_smtf = 0 ; in init_smt()
76 debug.d_rmt = 0 ; in init_smt()
77 debug.d_ecm = 0 ; in init_smt()
78 debug.d_pcm = 0 ; in init_smt()
79 debug.d_cfm = 0 ; in init_smt()
81 debug.d_plc = 0 ; in init_smt()
83 debug.d_ess = 0 ; in init_smt()
86 debug.d_sba = 0 ; in init_smt()
/Linux-v4.19/drivers/scsi/fnic/
Dfnic_debugfs.c518 struct stats_debug_info *debug; in fnic_reset_stats_open() local
520 debug = kzalloc(sizeof(struct stats_debug_info), GFP_KERNEL); in fnic_reset_stats_open()
521 if (!debug) in fnic_reset_stats_open()
524 debug->i_private = inode->i_private; in fnic_reset_stats_open()
526 file->private_data = debug; in fnic_reset_stats_open()
550 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_read() local
551 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_read()
578 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_write() local
579 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_write()
641 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_release() local
[all …]
/Linux-v4.19/drivers/scsi/
Dscript_asm.pl52 $debug = 0; # Print general debugging messages
165 print STDERR "value regex = $value\n" if ($debug);
168 print STDERR "phase regex = $phase\n" if ($debug);
220 if ($debug) {
231 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
253 print STDERR "Relative reference $symbol\n" if ($debug);
258 print STDERR "Absolute reference $symbol\n" if ($debug);
262 print STDERR "Referencing symbol $1, length = $length in $_\n" if ($debug);
292 print STDERR "$0 : parsed WHEN\n" if ($debug);
295 print STDERR "$0 : parsed IF\n" if ($debug);
[all …]
/Linux-v4.19/drivers/isdn/hisax/
Damd7930_fn.c131 if (cs->debug & L1_DEB_ISAC) in Amd7930_ph_command()
174 if (cs->debug & L1_DEB_ISAC) in Amd7930_new_ph()
243 if (cs->debug) in Amd7930_bh()
252 if (cs->debug & L1_DEB_ISAC) in Amd7930_bh()
258 if (cs->debug & L1_DEB_ISAC) in Amd7930_bh()
264 if (cs->debug & L1_DEB_ISAC) in Amd7930_bh()
279 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) in Amd7930_empty_Dfifo()
312 if (cs->debug & L1_DEB_ISAC_FIFO) { in Amd7930_empty_Dfifo()
335 if (cs->debug & L1_DEB_WARN) in Amd7930_empty_Dfifo()
353 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) in Amd7930_fill_Dfifo()
[all …]
Dhscx_irq.c58 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) in hscx_empty_fifo()
62 if (cs->debug & L1_DEB_WARN) in hscx_empty_fifo()
72 if (cs->debug & L1_DEB_HSCX_FIFO) { in hscx_empty_fifo()
90 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) in hscx_fill_fifo()
112 if (cs->debug & L1_DEB_HSCX_FIFO) { in hscx_fill_fifo()
138 if (cs->debug & L1_DEB_WARN) in hscx_interrupt()
145 if (cs->debug & L1_DEB_WARN) in hscx_interrupt()
153 if (cs->debug & L1_DEB_WARN) in hscx_interrupt()
167 if (cs->debug & L1_DEB_HSCX_FIFO) in hscx_interrupt()
252 if (cs->debug & L1_DEB_WARN) in hscx_int_main()
[all …]
/Linux-v4.19/Documentation/fault-injection/
Dfault-injection.txt31 debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request
37 under /sys/kernel/debug/fail_function. No boot option supported.
42 debugfs entries under /sys/kernel/debug/nvme*/fault_inject. The default
55 - /sys/kernel/debug/fail*/probability:
62 /sys/kernel/debug/fail*/interval for such testcases.
64 - /sys/kernel/debug/fail*/interval:
72 - /sys/kernel/debug/fail*/times:
77 - /sys/kernel/debug/fail*/space:
83 - /sys/kernel/debug/fail*/verbose
89 to debug the problems revealed by fault injection.
[all …]
/Linux-v4.19/Documentation/wimax/
DREADME.wimax39 files will appear in /sys/kernel/debug/wimax:wmxX can tweak for
42 2.1. Obtaining debug information: debugfs entries
44 The WiMAX stack is compiled, by default, with debug messages that can
48 debug settings.
54 2.1.1. Increasing debug output
56 The files named *dl_* indicate knobs for controlling the debug output
59 # find /sys/kernel/debug/wimax\:wmx0 -name \*dl_\*
60 /sys/kernel/debug/wimax:wmx0/wimax_dl_stack
61 /sys/kernel/debug/wimax:wmx0/wimax_dl_op_rfkill
62 /sys/kernel/debug/wimax:wmx0/wimax_dl_op_reset
[all …]
DREADME.i2400m152 debug settings. There are three main container directories where
155 * /sys/kernel/debug/wimax:DEVNAME/ for the generic WiMAX stack
157 * /sys/kernel/debug/wimax:DEVNAME/i2400m for the i2400m generic
159 * /sys/kernel/debug/wimax:DEVNAME/i2400m-usb (or -sdio) for the
163 /sys/kernel/debug, those paths will change.
165 5.2.1. Increasing debug output
167 The files named *dl_* indicate knobs for controlling the debug output
170 # find /sys/kernel/debug/wimax\:wmx0 -name \*dl_\*
171 /sys/kernel/debug/wimax:wmx0/i2400m-usb/dl_tx
172 /sys/kernel/debug/wimax:wmx0/i2400m-usb/dl_rx
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Ddebug.c256 ar->debug.fw_stats_done = false; in ath10k_debug_fw_stats_reset()
257 ar->debug.fw_stats.extended = false; in ath10k_debug_fw_stats_reset()
258 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset()
259 ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset()
260 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset()
261 ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_reset()
299 if (ar->debug.fw_stats_done) { in ath10k_debug_fw_stats_process()
306 num_peers = ath10k_wmi_fw_stats_num_peers(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
307 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_process()
308 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process()
[all …]
/Linux-v4.19/Documentation/
Dbtmrvl.txt10 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-v4.19/tools/power/cpupower/
D.gitignore22 debug/kernel/Module.symvers
23 debug/i386/centrino-decode
24 debug/i386/dump_psb
25 debug/i386/intel_gsic
26 debug/i386/powernow-k8-decode
27 debug/x86_64/centrino-decode
28 debug/x86_64/powernow-k8-decode
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_debugfs.c1497 struct lpfc_debug *debug; in lpfc_debugfs_disc_trc_open() local
1506 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_disc_trc_open()
1507 if (!debug) in lpfc_debugfs_disc_trc_open()
1514 debug->buffer = kmalloc(size, GFP_KERNEL); in lpfc_debugfs_disc_trc_open()
1515 if (!debug->buffer) { in lpfc_debugfs_disc_trc_open()
1516 kfree(debug); in lpfc_debugfs_disc_trc_open()
1520 debug->len = lpfc_debugfs_disc_trc_data(vport, debug->buffer, size); in lpfc_debugfs_disc_trc_open()
1521 file->private_data = debug; in lpfc_debugfs_disc_trc_open()
1547 struct lpfc_debug *debug; in lpfc_debugfs_slow_ring_trc_open() local
1556 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_slow_ring_trc_open()
[all …]
/Linux-v4.19/drivers/staging/fbtft/
Dfbtft-sysfs.c149 void fbtft_expand_debug_value(unsigned long *debug) in fbtft_expand_debug_value() argument
151 switch (*debug & 0x7) { in fbtft_expand_debug_value()
153 *debug |= DEBUG_LEVEL_1; in fbtft_expand_debug_value()
156 *debug |= DEBUG_LEVEL_2; in fbtft_expand_debug_value()
159 *debug |= DEBUG_LEVEL_3; in fbtft_expand_debug_value()
162 *debug |= DEBUG_LEVEL_4; in fbtft_expand_debug_value()
165 *debug |= DEBUG_LEVEL_5; in fbtft_expand_debug_value()
168 *debug |= DEBUG_LEVEL_6; in fbtft_expand_debug_value()
171 *debug = 0xFFFFFFFF; in fbtft_expand_debug_value()
184 ret = kstrtoul(buf, 10, &par->debug); in store_debug()
[all …]
/Linux-v4.19/tools/perf/Documentation/
Dperf.txt15 --debug::
16 Setup debug variable (see list below) in value
18 --debug verbose # sets verbose = 1
19 --debug verbose=2 # sets verbose = 2
21 List of debug variables allowed to set:
22 verbose - general debug messages
23 ordered-events - ordered events object debug messages
24 data-convert - data convert command debug messages
/Linux-v4.19/drivers/media/i2c/
Dsaa7110.c41 static int debug; variable
42 module_param(debug, int, 0);
43 MODULE_PARM_DESC(debug, "Debug level (0-1)");
200 v4l2_dbg(1, debug, sd, "status=0x%02x (no signal)\n", status); in determine_norm()
206 v4l2_dbg(1, debug, sd, "status=0x%02x (NTSC/no color)\n", status); in determine_norm()
210 v4l2_dbg(1, debug, sd, "status=0x%02x (PAL/no color)\n", status); in determine_norm()
216 v4l2_dbg(1, debug, sd, "status=0x%02x (NTSC)\n", status); in determine_norm()
236 v4l2_dbg(1, debug, sd, "status=0x%02x (SECAM)\n", status); in determine_norm()
240 v4l2_dbg(1, debug, sd, "status=0x%02x (PAL)\n", status); in determine_norm()
250 v4l2_dbg(1, debug, sd, "status=0x%02x norm=%llx\n", in saa7110_g_input_status()
[all …]

12345678910>>...57