| /linux-6.15/tools/testing/selftests/kvm/x86/ |
| H A D | debug_regs.c | 83 struct kvm_guest_debug debug; in main() local 107 memset(&debug, 0, sizeof(debug)); in main() 109 vcpu_guest_debug_set(vcpu, &debug); in main() 121 memset(&debug, 0, sizeof(debug)); in main() 125 vcpu_guest_debug_set(vcpu, &debug); in main() 143 memset(&debug, 0, sizeof(debug)); in main() 171 memset(&debug, 0, sizeof(debug)); in main() 184 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main() 189 memset(&debug, 0, sizeof(debug)); in main() 202 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main() [all …]
|
| /linux-6.15/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-adv.c | 48 task->thread.debug.dbcr1)) { in user_disable_single_step() 115 task->thread.debug.dbcr1)) { in ptrace_set_debugreg() 241 child->thread.debug.iac1 = 0; in del_instruction_bp() 251 child->thread.debug.iac2 = 0; in del_instruction_bp() 264 child->thread.debug.iac3 = 0; in del_instruction_bp() 274 child->thread.debug.iac4 = 0; in del_instruction_bp() 308 child->thread.debug.dvc1 = in set_dac() 310 child->thread.debug.dbcr2 |= in set_dac() 329 child->thread.debug.dvc2 = in set_dac() 331 child->thread.debug.dbcr2 |= in set_dac() [all …]
|
| /linux-6.15/drivers/gpu/drm/msm/dp/ |
| H A D | dp_debug.c | 33 if (!debug) in msm_dp_debug_show() 40 debug->panel->link_info.rate); in msm_dp_debug_show() 67 debug->panel->msm_dp_mode.bpp); in msm_dp_debug_show() 71 debug->link->sink_request); in msm_dp_debug_show() 135 connector = debug->connector; in msm_dp_test_active_write() 173 if (debug->panel->video_test) in msm_dp_test_active_show() 212 debug = devm_kzalloc(dev, sizeof(*debug), GFP_KERNEL); in msm_dp_debug_init() 213 if (!debug) in msm_dp_debug_init() 216 debug->link = link; in msm_dp_debug_init() 217 debug->panel = panel; in msm_dp_debug_init() [all …]
|
| /linux-6.15/drivers/media/platform/rockchip/rkisp1/ |
| H A D | rkisp1-debug.c | 196 struct rkisp1_debug *debug = &rkisp1->debug; in rkisp1_debug_init() local 202 &debug->data_loss); in rkisp1_debug_init() 204 &debug->outform_size_error); in rkisp1_debug_init() 206 debug->debugfs_dir, in rkisp1_debug_init() 209 &debug->inform_size_error); in rkisp1_debug_init() 211 &debug->irq_delay); in rkisp1_debug_init() 213 &debug->mipi_error); in rkisp1_debug_init() 215 &debug->stats_error); in rkisp1_debug_init() 221 &debug->frame_drop[RKISP1_MAINPATH]); in rkisp1_debug_init() 223 &debug->frame_drop[RKISP1_SELFPATH]); in rkisp1_debug_init() [all …]
|
| /linux-6.15/Documentation/arch/s390/ |
| H A D | s390dbf.rst | 6 - arch/s390/kernel/debug.c 28 debug log for the caller. For each debug log exists a number of debug areas 33 An event-call writes the specified debug entry to the active debug 37 debug area. 45 When an exception is thrown in the last debug area, the following debug 64 ``/sys/kernel/debug`` therefore the debug feature can be accessed under 74 All debug logs have an actual debug level (range from 0 to 6). 99 That prevents the debug feature from overwriting debug information that 228 Flushing debug areas 252 Define 4 pages for the debug areas of debug feature "dasd":: [all …]
|
| /linux-6.15/drivers/net/wireless/st/cw1200/ |
| H A 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() 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() 84 priv->debug->ba_cnt = ba_cnt; in cw1200_debug_ba() [all …]
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | ibmphp_ebda.c | 133 debug("print_lo_info ----\n"); in print_lo_info() 148 debug("%s ---\n", __func__); in print_vg_info() 182 debug("%s ---\n", __func__); in print_opt_vg() 284 debug("hot blk id: %x\n", blk_id); in ibmphp_access_ebda() 345 debug("format: %x\n", format); in ibmphp_access_ebda() 352 debug("now enter io table ---\n"); in ibmphp_access_ebda() 353 debug("rio blk id: %x\n", blk_id); in ibmphp_access_ebda() 724 debug("ctlr id: %x\n", ctlr_id); in ebda_rsrc_controller() 927 debug("now entering rsrc land\n"); in ebda_rsrc_rsrc() 1105 debug("inside ibmphp_probe\n"); in ibmphp_probe() [all …]
|
| H A D | ibmphp_core.c | 39 static bool debug; variable 168 debug("end of init_devno\n"); in ibmphp_init_devno() 961 debug("after power_on\n"); in enable_slot() 1078 debug("DISABLING SLOT...\n"); in ibmphp_do_disable_slot() 1168 debug("after slots\n"); in ibmphp_unload() 1170 debug("after resources\n"); in ibmphp_unload() 1172 debug("after bus info\n"); in ibmphp_unload() 1174 debug("after ebda hpc\n"); in ibmphp_unload() 1204 ibmphp_debug = debug; in ibmphp_init() 1246 debug("after polling\n"); in ibmphp_exit() [all …]
|
| H A D | ibmphp_pci.c | 350 debug("%s - inside\n", __func__); in configure_device() 380 debug("inside IO SPACE\n"); in configure_device() 417 debug("PFMEM SPACE\n"); in configure_device() 481 debug("REGULAR MEM SPACE\n"); in configure_device() 577 debug("%s - enter\n", __func__); in configure_bridge() 803 debug("it doesn't want IO?\n"); in configure_bridge() 900 debug("b4 adding new bus\n"); in configure_bridge() 922 debug("io 32\n"); in configure_bridge() 926 debug("pfmem 64\n"); in configure_bridge() 1323 debug("busno is %x\n", busno); in unconfigure_boot_bridge() [all …]
|
| /linux-6.15/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_debugfs.c | 44 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 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 81 if (!debug) in _debugfs_iocdump_release() [all …]
|
| /linux-6.15/Documentation/trace/coresight/ |
| H A D | coresight-cpu-debug.rst | 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 71 Debug registers', the debug registers are spread into two domains: the debug 90 debug power domain. 184 coresight-cpu-debug 850000.debug: CPU[0]: 185 coresight-cpu-debug 850000.debug: EDPRSR: 00000001 (Power:On DLK:Unlock) 186 coresight-cpu-debug 850000.debug: EDPCSR: handle_IPI+0x174/0x1d8 187 coresight-cpu-debug 850000.debug: EDCIDSR: 00000000 189 coresight-cpu-debug 852000.debug: CPU[1]: 190 coresight-cpu-debug 852000.debug: EDPRSR: 00000001 (Power:On DLK:Unlock) [all …]
|
| /linux-6.15/drivers/scsi/megaraid/ |
| H A D | megaraid_sas_debugfs.c | 51 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 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 84 if (!debug) in megasas_debugfs_release() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/soc/socionext/ |
| H A D | socionext,uniphier-soc-glue-debug.yaml | 7 title: Socionext UniPhier SoC-glue logic debug part 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 27 - socionext,uniphier-ld20-soc-glue-debug 28 - socionext,uniphier-pxs3-soc-glue-debug [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dmub/src/ |
| H A D | dmub_dcn31.c | 427 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() 467 dmub->debug.is_dmcub_enabled = is_dmub_enabled; in dmub_dcn31_get_diagnostic_data() 470 dmub->debug.is_dmcub_soft_reset = is_soft_reset; in dmub_dcn31_get_diagnostic_data() 473 dmub->debug.is_dmcub_secure_reset = is_sec_reset; in dmub_dcn31_get_diagnostic_data() 479 dmub->debug.is_cw0_enabled = is_cw0_enabled; in dmub_dcn31_get_diagnostic_data() [all …]
|
| H A D | dmub_dcn20.c | 427 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() 463 dmub->debug.is_dmcub_enabled = is_dmub_enabled; in dmub_dcn20_get_diagnostic_data() 466 dmub->debug.is_dmcub_soft_reset = is_soft_reset; in dmub_dcn20_get_diagnostic_data() 469 dmub->debug.is_dmcub_secure_reset = is_sec_reset; in dmub_dcn20_get_diagnostic_data() 475 dmub->debug.is_cw0_enabled = is_cw0_enabled; in dmub_dcn20_get_diagnostic_data() [all …]
|
| H A D | dmub_dcn32.c | 430 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() 471 dmub->debug.is_dmcub_enabled = is_dmub_enabled; in dmub_dcn32_get_diagnostic_data() 474 dmub->debug.is_dmcub_soft_reset = is_soft_reset; in dmub_dcn32_get_diagnostic_data() 477 dmub->debug.is_dmcub_secure_reset = is_sec_reset; in dmub_dcn32_get_diagnostic_data() 483 dmub->debug.is_cw0_enabled = is_cw0_enabled; in dmub_dcn32_get_diagnostic_data() [all …]
|
| H A D | dmub_dcn35.c | 475 timeout = dmub->debug.timeout_info; in dmub_dcn35_get_diagnostic_data() 476 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn35_get_diagnostic_data() 477 dmub->debug.timeout_info = timeout; in dmub_dcn35_get_diagnostic_data() 479 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn35_get_diagnostic_data() 481 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn35_get_diagnostic_data() 482 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn35_get_diagnostic_data() 483 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn35_get_diagnostic_data() 484 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn35_get_diagnostic_data() 516 dmub->debug.is_dmcub_enabled = is_dmub_enabled; in dmub_dcn35_get_diagnostic_data() 519 dmub->debug.is_dmcub_soft_reset = is_soft_reset; in dmub_dcn35_get_diagnostic_data() [all …]
|
| H A D | dmub_dcn401.c | 428 timeout = dmub->debug.timeout_info; in dmub_dcn401_get_diagnostic_data() 429 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn401_get_diagnostic_data() 430 dmub->debug.timeout_info = timeout; in dmub_dcn401_get_diagnostic_data() 432 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn401_get_diagnostic_data() 434 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn401_get_diagnostic_data() 435 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn401_get_diagnostic_data() 469 dmub->debug.is_dmcub_enabled = is_dmub_enabled; in dmub_dcn401_get_diagnostic_data() 472 dmub->debug.is_dmcub_soft_reset = is_soft_reset; in dmub_dcn401_get_diagnostic_data() 475 dmub->debug.is_dmcub_secure_reset = is_sec_reset; in dmub_dcn401_get_diagnostic_data() 481 dmub->debug.is_cw0_enabled = is_cw0_enabled; in dmub_dcn401_get_diagnostic_data() [all …]
|
| /linux-6.15/drivers/scsi/fnic/ |
| H A D | fnic_debugfs.c | 440 if (!debug) in fnic_reset_stats_open() 445 file->private_data = debug; in fnic_reset_stats_open() 561 kfree(debug); in fnic_reset_stats_release() 587 if (!debug) in fnic_stats_debugfs_open() 591 if (!debug->debug_buffer) { in fnic_stats_debugfs_open() 592 kfree(debug); in fnic_stats_debugfs_open() 598 debug->buffer_len = fnic_get_stats_data(debug, fnic_stats); in fnic_stats_debugfs_open() 599 debug->buffer_len += fnic_get_debug_info(debug, fnic); in fnic_stats_debugfs_open() 630 debug->debug_buffer, in fnic_stats_debugfs_read() 631 debug->buffer_len); in fnic_stats_debugfs_read() [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath9k/ |
| H A D | debug.c | 479 sc->debug.stats.istats.txok++; in ath_debug_stat_interrupt() 491 sc->debug.stats.istats.bnr++; in ath_debug_stat_interrupt() 493 sc->debug.stats.istats.cst++; in ath_debug_stat_interrupt() 495 sc->debug.stats.istats.gtt++; in ath_debug_stat_interrupt() 497 sc->debug.stats.istats.tim++; in ath_debug_stat_interrupt() 507 sc->debug.stats.istats.mci++; in ath_debug_stat_interrupt() 876 sc->debug.regidx = regidx; in write_file_regidx() 1407 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug() 1408 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug() 1423 sc->debug.debugfs_phy, in ath9k_init_debug() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/arm/ |
| H A D | arm,coresight-cpu-debug.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-cpu-debug.yaml# 16 CoreSight CPU debug component are compliant with the ARMv8 architecture 18 external debug module is mainly used for two modes: self-hosted debug 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. 59 A phandle to the debug power domain if the debug logic has its own 74 debug@f6590000 { [all …]
|
| /linux-6.15/Documentation/translations/zh_CN/dev-tools/ |
| H A D | kmemleak.rst | 13 被释放,而是仅通过 /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 114 # echo clear > /sys/kernel/debug/kmemleak 116 # echo scan > /sys/kernel/debug/kmemleak 120 # cat /sys/kernel/debug/kmemleak 131 # echo clear > /sys/kernel/debug/kmemleak 206 # echo scan > /sys/kernel/debug/kmemleak [all …]
|
| /linux-6.15/Documentation/driver-api/usb/ |
| H A D | usb3-debug-port.rst | 2 USB3 debug port 14 debug port, you need to:: 16 1) check whether any USB3 debug port is available in 29 device through the debug port (normally the first USB3 33 (the system under debugging) and a debug host. 60 Before starting the debug target, you should connect the debug 67 to enumerate the debug device in debug target. The debug host 72 to see below kernel messages on the debug host:: 106 debug device provided by the DbC at runtime. 125 Connect the debug target to the debug host with a USB 3.0 super- [all …]
|
| /linux-6.15/drivers/net/fddi/skfp/ |
| H A D | smtinit.c | 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.d_ess = 0 ; in init_smt() 78 debug.d_sba = 0 ; in init_smt()
|
| /linux-6.15/drivers/scsi/ |
| H A D | script_asm.pl | 39 $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) { 294 print STDERR "$0 : parsed NOT\n" if ($debug); 308 print STDERR "$0 : parsed ATN\n" if ($debug); 335 print STDERR "$0 : parsed $1\n" if ($debug); 491 ($debug); 524 print STDERR "register source\n" if ($debug); 533 print STDERR "data8 source\n" if ($debug); [all …]
|