Home
last modified time | relevance | path

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

12345678910>>...65

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Ddebug_regs.c80 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()
118 memset(&debug, 0, sizeof(debug)); in main()
119 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_HW_BP; in main()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/dp/
Ddp_debug.c35 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 …]
/linux-6.6.21/arch/powerpc/kernel/ptrace/
Dptrace-adv.c13 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()
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()
52 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step()
80 return put_user(child->thread.debug.dac1, datalp); in ptrace_get_debugreg()
110 task->thread.debug.dac1 = data & ~0x3UL; in ptrace_set_debugreg()
[all …]
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/
Drkisp1-debug.c192 struct rkisp1_debug *debug = &rkisp1->debug; in rkisp1_debug_init() local
195 debug->debugfs_dir = debugfs_create_dir(dev_name(rkisp1->dev), NULL); in rkisp1_debug_init()
197 debugfs_create_ulong("data_loss", 0444, debug->debugfs_dir, in rkisp1_debug_init()
198 &debug->data_loss); in rkisp1_debug_init()
199 debugfs_create_ulong("outform_size_err", 0444, debug->debugfs_dir, in rkisp1_debug_init()
200 &debug->outform_size_error); in rkisp1_debug_init()
202 debug->debugfs_dir, in rkisp1_debug_init()
203 &debug->img_stabilization_size_error); in rkisp1_debug_init()
204 debugfs_create_ulong("inform_size_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
205 &debug->inform_size_error); in rkisp1_debug_init()
[all …]
/linux-6.6.21/Documentation/arch/s390/
Ds390dbf.rst6 - 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
29 where exactly one is active at one time. Each debug area consists of contiguous
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_runtime_pm.c70 spin_lock_init(&rpm->debug.lock); in init_intel_runtime_pm_wakeref()
87 spin_lock_irqsave(&rpm->debug.lock, flags); in track_intel_runtime_pm_wakeref()
89 if (!rpm->debug.count) in track_intel_runtime_pm_wakeref()
90 rpm->debug.last_acquire = stack; in track_intel_runtime_pm_wakeref()
92 stacks = krealloc(rpm->debug.owners, in track_intel_runtime_pm_wakeref()
93 (rpm->debug.count + 1) * sizeof(*stacks), in track_intel_runtime_pm_wakeref()
96 stacks[rpm->debug.count++] = stack; in track_intel_runtime_pm_wakeref()
97 rpm->debug.owners = stacks; in track_intel_runtime_pm_wakeref()
102 spin_unlock_irqrestore(&rpm->debug.lock, flags); in track_intel_runtime_pm_wakeref()
119 spin_lock_irqsave(&rpm->debug.lock, flags); in untrack_intel_runtime_pm_wakeref()
[all …]
/linux-6.6.21/drivers/net/wireless/st/cw1200/
Ddebug.h35 ++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-6.6.21/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");
58 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info()
59 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info()
74 debug("busstatus = %x, bus_speed = %x, bus_mode = %x\n", in get_cur_bus_info()
140 debug("(*cur_slot)->irq[0] = %x\n", in ibmphp_init_devno()
142 debug("(*cur_slot)->irq[1] = %x\n", in ibmphp_init_devno()
144 debug("(*cur_slot)->irq[2] = %x\n", in ibmphp_init_devno()
146 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-6.6.21/drivers/scsi/mpt3sas/
Dmpt3sas_debugfs.c44 struct mpt3sas_debugfs_buffer *debug = filp->private_data; in _debugfs_iocdump_read() local
46 if (!debug || !debug->buf) in _debugfs_iocdump_read()
49 return simple_read_from_buffer(ubuf, cnt, ppos, debug->buf, debug->len); in _debugfs_iocdump_read()
59 struct mpt3sas_debugfs_buffer *debug; in _debugfs_iocdump_open() local
61 debug = kzalloc(sizeof(struct mpt3sas_debugfs_buffer), GFP_KERNEL); in _debugfs_iocdump_open()
62 if (!debug) in _debugfs_iocdump_open()
65 debug->buf = (void *)ioc; in _debugfs_iocdump_open()
66 debug->len = sizeof(struct MPT3SAS_ADAPTER); in _debugfs_iocdump_open()
67 file->private_data = debug; in _debugfs_iocdump_open()
79 struct mpt3sas_debugfs_buffer *debug = file->private_data; in _debugfs_iocdump_release() local
[all …]
/linux-6.6.21/drivers/scsi/megaraid/
Dmegaraid_sas_debugfs.c51 struct megasas_debugfs_buffer *debug = filp->private_data; in megasas_debugfs_read() local
53 if (!debug || !debug->buf) in megasas_debugfs_read()
56 return simple_read_from_buffer(ubuf, cnt, ppos, debug->buf, debug->len); in megasas_debugfs_read()
63 struct megasas_debugfs_buffer *debug; in megasas_debugfs_raidmap_open() local
68 debug = kzalloc(sizeof(struct megasas_debugfs_buffer), GFP_KERNEL); in megasas_debugfs_raidmap_open()
69 if (!debug) in megasas_debugfs_raidmap_open()
72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open()
73 debug->len = fusion->drv_map_sz; in megasas_debugfs_raidmap_open()
74 file->private_data = debug; in megasas_debugfs_raidmap_open()
82 struct megasas_debug_buffer *debug = file->private_data; in megasas_debugfs_release() local
[all …]
/linux-6.6.21/Documentation/trace/coresight/
Dcoresight-cpu-debug.rst11 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
69 Before accessing debug registers, we should ensure the clock and power domain
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/soc/socionext/
Dsocionext,uniphier-soc-glue-debug.yaml4 $id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml#
7 title: Socionext UniPhier SoC-glue logic debug part
13 SoC-glue logic debug part implemented on Socionext UniPhier SoCs is
15 system components for debug and monitor use.
21 - socionext,uniphier-ld4-soc-glue-debug
22 - socionext,uniphier-pro4-soc-glue-debug
23 - socionext,uniphier-pro5-soc-glue-debug
24 - socionext,uniphier-pxs2-soc-glue-debug
25 - socionext,uniphier-sld8-soc-glue-debug
26 - socionext,uniphier-ld11-soc-glue-debug
[all …]
/linux-6.6.21/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-6.6.21/Documentation/devicetree/bindings/arm/
Darm,coresight-cpu-debug.yaml4 $id: http://devicetree.org/schemas/arm/arm,coresight-cpu-debug.yaml#
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
53 A phandle to the cpu this debug component is bound to.
[all …]
/linux-6.6.21/drivers/scsi/fnic/
Dfnic_debugfs.c434 struct stats_debug_info *debug; in fnic_reset_stats_open() local
436 debug = kzalloc(sizeof(struct stats_debug_info), GFP_KERNEL); in fnic_reset_stats_open()
437 if (!debug) in fnic_reset_stats_open()
440 debug->i_private = inode->i_private; in fnic_reset_stats_open()
442 file->private_data = debug; in fnic_reset_stats_open()
466 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_read() local
467 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_read()
494 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_write() local
495 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_write()
557 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_release() local
[all …]
/linux-6.6.21/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-6.6.21/scripts/
DMakefile.debug4 debug-flags-y := -g
10 debug-flags-$(CONFIG_DEBUG_INFO_DWARF4) += -gdwarf-4
11 debug-flags-$(CONFIG_DEBUG_INFO_DWARF5) += -gdwarf-5
15 KBUILD_AFLAGS += $(addprefix -Wa$(comma), $(debug-flags-y))
17 DEBUG_CFLAGS += $(debug-flags-y)
18 KBUILD_AFLAGS += $(debug-flags-y)
24 DEBUG_CFLAGS += -femit-struct-debug-baseonly
33 KBUILD_LDFLAGS += --compress-debug-sections=zlib
37 KBUILD_LDFLAGS += --compress-debug-sections=zstd
/linux-6.6.21/drivers/net/fddi/skfp/
Dsmtinit.c26 struct smt_debug debug; variable
66 debug.d_smt = 0 ; in init_smt()
67 debug.d_smtf = 0 ; in init_smt()
68 debug.d_rmt = 0 ; in init_smt()
69 debug.d_ecm = 0 ; in init_smt()
70 debug.d_pcm = 0 ; in init_smt()
71 debug.d_cfm = 0 ; in init_smt()
73 debug.d_plc = 0 ; in init_smt()
75 debug.d_ess = 0 ; in init_smt()
78 debug.d_sba = 0 ; in init_smt()
/linux-6.6.21/drivers/scsi/
Dscript_asm.pl39 $debug = 0; # Print general debugging messages
152 print STDERR "value regex = $value\n" if ($debug);
155 print STDERR "phase regex = $phase\n" if ($debug);
207 if ($debug) {
218 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
240 print STDERR "Relative reference $symbol\n" if ($debug);
245 print STDERR "Absolute reference $symbol\n" if ($debug);
249 print STDERR "Referencing symbol $1, length = $length in $_\n" if ($debug);
279 print STDERR "$0 : parsed WHEN\n" if ($debug);
282 print STDERR "$0 : parsed IF\n" if ($debug);
[all …]
/linux-6.6.21/Documentation/ABI/testing/
Ddebugfs-hisi-zip1 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 …]
Ddebugfs-hisi-hpre1 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 …]
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_debugfs.c1940 struct lpfc_debug *debug; in lpfc_debugfs_disc_trc_open() local
1949 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_disc_trc_open()
1950 if (!debug) in lpfc_debugfs_disc_trc_open()
1957 debug->buffer = kmalloc(size, GFP_KERNEL); in lpfc_debugfs_disc_trc_open()
1958 if (!debug->buffer) { in lpfc_debugfs_disc_trc_open()
1959 kfree(debug); in lpfc_debugfs_disc_trc_open()
1963 debug->len = lpfc_debugfs_disc_trc_data(vport, debug->buffer, size); in lpfc_debugfs_disc_trc_open()
1964 file->private_data = debug; in lpfc_debugfs_disc_trc_open()
1990 struct lpfc_debug *debug; in lpfc_debugfs_slow_ring_trc_open() local
1999 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_slow_ring_trc_open()
[all …]

12345678910>>...65