Home
last modified time | relevance | path

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

12345678910>>...69

/linux/tools/testing/selftests/kvm/x86/
H A Ddebug_regs.c3 * KVM guest debug register tests
18 /* For testing data access debug BP */
83 struct kvm_guest_debug debug; in main() local
107 memset(&debug, 0, sizeof(debug)); in main()
108 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main()
109 vcpu_guest_debug_set(vcpu, &debug); in main()
112 run->debug.arch.exception == BP_VECTOR && in main()
113 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main()
115 run->exit_reason, run->debug in main()
[all...]
/linux/arch/powerpc/kernel/ptrace/
H A 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()
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 in user_disable_single_step()
[all...]
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_debug.c29 struct msm_dp_debug_private *debug = seq->private; in msm_dp_debug_show() local
34 if (!debug) in msm_dp_debug_show()
37 drm_mode = &debug->panel->msm_dp_mode.drm_mode; in msm_dp_debug_show()
41 debug->panel->link_info.rate); in msm_dp_debug_show()
43 debug->panel->link_info.num_lanes); in msm_dp_debug_show()
45 debug->panel->link_info.capabilities); in msm_dp_debug_show()
59 debug->panel->msm_dp_mode.h_active_low, in msm_dp_debug_show()
60 debug->panel->msm_dp_mode.v_active_low); in msm_dp_debug_show()
68 debug->panel->msm_dp_mode.bpp); in msm_dp_debug_show()
72 debug in msm_dp_debug_show()
91 const struct msm_dp_debug_private *debug = m->private; msm_dp_test_data_show() local
113 const struct msm_dp_debug_private *debug = m->private; msm_dp_test_type_show() local
131 const struct msm_dp_debug_private *debug; msm_dp_test_active_write() local
170 struct msm_dp_debug_private *debug = m->private; msm_dp_test_active_show() local
206 struct msm_dp_debug_private *debug; msm_dp_debug_init() local
[all...]
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-debug.c196 struct rkisp1_debug *debug = &rkisp1->debug; in rkisp1_debug_init() local
199 debug->debugfs_dir = debugfs_create_dir(dev_name(rkisp1->dev), NULL); in rkisp1_debug_init()
201 debugfs_create_ulong("data_loss", 0444, debug->debugfs_dir, in rkisp1_debug_init()
202 &debug->data_loss); in rkisp1_debug_init()
203 debugfs_create_ulong("outform_size_err", 0444, debug->debugfs_dir, in rkisp1_debug_init()
204 &debug->outform_size_error); in rkisp1_debug_init()
206 debug->debugfs_dir, in rkisp1_debug_init()
207 &debug->img_stabilization_size_error); in rkisp1_debug_init()
208 debugfs_create_ulong("inform_size_error", 0444, debug in rkisp1_debug_init()
[all...]
/linux/Documentation/arch/s390/
H A 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 lo
[all...]
/linux/drivers/net/wireless/st/cw1200/
H A 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 in cw1200_debug_tx_burst()
[all...]
/linux/drivers/pci/hotplug/
H A 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(" in print_bus_info()
[all...]
H A 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_slo in ibmphp_init_devno()
[all...]
H A 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()
132 debug("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); 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("afte in ibmphp_configure_card()
[all...]
/linux/drivers/scsi/mpt3sas/
H A 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 in _debugfs_iocdump_open()
79 struct mpt3sas_debugfs_buffer *debug = file->private_data; _debugfs_iocdump_release() local
[all...]
/linux/drivers/scsi/megaraid/
H A 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 in megasas_debugfs_raidmap_open()
82 struct megasas_debug_buffer *debug = file->private_data; megasas_debugfs_release() local
[all...]
/linux/Documentation/trace/coresight/
H A 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 mechanis
[all...]
/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn31.c427 timeout = dmub->debug.timeout_info; in dmub_dcn31_get_diagnostic_data()
428 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn31_get_diagnostic_data()
429 dmub->debug.timeout_info = timeout; in dmub_dcn31_get_diagnostic_data()
431 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn31_get_diagnostic_data()
433 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
434 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
435 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
436 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
437 dmub->debug in dmub_dcn31_get_diagnostic_data()
[all...]
H A Ddmub_dcn20.c427 timeout = dmub->debug.timeout_info; in dmub_dcn20_get_diagnostic_data()
428 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn20_get_diagnostic_data()
429 dmub->debug.timeout_info = timeout; in dmub_dcn20_get_diagnostic_data()
431 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn20_get_diagnostic_data()
433 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
434 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
435 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
436 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
437 dmub->debug in dmub_dcn20_get_diagnostic_data()
[all...]
H A Ddmub_dcn32.c430 timeout = dmub->debug.timeout_info; in dmub_dcn32_get_diagnostic_data()
431 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn32_get_diagnostic_data()
432 dmub->debug.timeout_info = timeout; in dmub_dcn32_get_diagnostic_data()
434 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn32_get_diagnostic_data()
436 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
437 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
438 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
439 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
440 dmub->debug in dmub_dcn32_get_diagnostic_data()
[all...]
H A Ddmub_dcn35.c465 timeout = dmub->debug.timeout_info; in dmub_dcn35_get_diagnostic_data()
466 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn35_get_diagnostic_data()
467 dmub->debug.timeout_info = timeout; in dmub_dcn35_get_diagnostic_data()
469 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn35_get_diagnostic_data()
471 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn35_get_diagnostic_data()
472 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn35_get_diagnostic_data()
473 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn35_get_diagnostic_data()
474 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn35_get_diagnostic_data()
475 dmub->debug in dmub_dcn35_get_diagnostic_data()
[all...]
H A Ddmub_dcn401.c424 timeout = dmub->debug.timeout_info; in dmub_dcn401_get_diagnostic_data()
425 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn401_get_diagnostic_data()
426 dmub->debug.timeout_info = timeout; in dmub_dcn401_get_diagnostic_data()
428 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn401_get_diagnostic_data()
430 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn401_get_diagnostic_data()
431 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn401_get_diagnostic_data()
432 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn401_get_diagnostic_data()
433 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn401_get_diagnostic_data()
434 dmub->debug in dmub_dcn401_get_diagnostic_data()
[all...]
/linux/drivers/scsi/fnic/
H A Dfnic_debugfs.c34 * fnic_debugfs_init - Initialize debugfs for fnic debug logging
429 * to debug structure to retrieve later for while performing other
437 struct stats_debug_info *debug; in fnic_reset_stats_open() local
439 debug = kzalloc(sizeof(struct stats_debug_info), GFP_KERNEL); in fnic_reset_stats_open()
440 if (!debug) in fnic_reset_stats_open()
443 debug->i_private = inode->i_private; in fnic_reset_stats_open()
445 file->private_data = debug; in fnic_reset_stats_open()
469 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_read() local
470 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_read()
497 struct stats_debug_info *debug in fnic_reset_stats_write() local
560 struct stats_debug_info *debug = file->private_data; fnic_reset_stats_release() local
583 struct stats_debug_info *debug; fnic_stats_debugfs_open() local
627 struct stats_debug_info *debug = file->private_data; fnic_stats_debugfs_read() local
651 struct stats_debug_info *debug = file->private_data; fnic_stats_debugfs_release() local
[all...]
/linux/drivers/net/wireless/ath/ath9k/
H A 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 in ath9k_debug_sync_cause()
[all...]
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dkmemleak.rst13 被释放,而是仅通过 /sys/kernel/debug/kmemleak 报告。Valgrind 工具
24 # mount -t debugfs nodev /sys/kernel/debug/
28 # cat /sys/kernel/debug/kmemleak
32 # echo scan > /sys/kernel/debug/kmemleak
36 # echo clear > /sys/kernel/debug/kmemleak
38 当再次读取 ``/sys/kernel/debug/kmemleak`` 文件时,将会输出自上次扫描以来检测到的
44 可以通过写入 ``/sys/kernel/debug/kmemleak`` 文件在运行时修改内存扫描参数。下面是
98 4. 剩余的白色对象就被认为是孤立的并通过 /sys/kernel/debug/kmemleak 报告。
107 在初始化启动阶段 /sys/kernel/debug/kmemleak 的输出可能会很多,这也可能是你在开发
109 /sys/kernel/debug/kmemlea
[all...]
/linux/Documentation/driver-api/usb/
H A 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 hos
[all...]
/linux/Documentation/ABI/testing/
H A Ddebugfs-amd-iommu1 What: /sys/kernel/debug/iommu/amd/iommu<x>/mmio
11 $ echo "0x18" > /sys/kernel/debug/iommu/amd/iommu00/mmio
12 $ cat /sys/kernel/debug/iommu/amd/iommu00/mmio
18 What: /sys/kernel/debug/iommu/amd/iommu<x>/capability
28 $ echo "0x10" > /sys/kernel/debug/iommu/amd/iommu00/capability
29 $ cat /sys/kernel/debug/iommu/amd/iommu00/capability
35 What: /sys/kernel/debug/iommu/amd/iommu<x>/cmdbuf
44 $ cat /sys/kernel/debug/iommu/amd/iommu<x>/cmdbuf
63 What: /sys/kernel/debug/iommu/amd/devid
76 $ echo 0000:01:00.0 > /sys/kernel/debug/iomm
[all...]
/linux/drivers/net/fddi/skfp/
H A Dsmtinit.c24 /* define global debug variable */
26 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 in init_smt()
[all...]
/linux/drivers/scsi/
H A 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/drivers/net/wireless/ath/ath10k/
H A Ddebug.c19 #include "debug.h"
57 ath10k_info(ar, "kconfig debug %d debugfs %d tracing %d dfs %d testmode %d\n", in ath10k_debug_print_hwfw_info()
249 ar->debug.fw_stats_done = false; in ath10k_debug_fw_stats_reset()
250 ar->debug.fw_stats.extended = false; in ath10k_debug_fw_stats_reset()
251 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset()
252 ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset()
253 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset()
254 ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_reset()
292 if (ar->debug.fw_stats_done) { in ath10k_debug_fw_stats_process()
299 num_peers = list_count_nodes(&ar->debug in ath10k_debug_fw_stats_process()
[all...]

12345678910>>...69