| /linux/tools/testing/selftests/kvm/x86_64/ |
| 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/arch/powerpc/kernel/ptrace/ |
| 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/drivers/gpu/drm/msm/dp/ |
| A D | dp_debug.c | 33 if (!debug) in dp_debug_show() 40 debug->panel->link_info.rate); in dp_debug_show() 67 debug->panel->dp_mode.bpp); in dp_debug_show() 71 debug->link->sink_request); in dp_debug_show() 135 connector = debug->connector; in dp_test_active_write() 173 if (debug->panel->video_test) in dp_test_active_show() 212 debug = devm_kzalloc(dev, sizeof(*debug), GFP_KERNEL); in dp_debug_init() 213 if (!debug) in dp_debug_init() 216 debug->link = link; in dp_debug_init() 217 debug->panel = panel; in dp_debug_init() [all …]
|
| /linux/drivers/media/platform/rockchip/rkisp1/ |
| 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/Documentation/arch/s390/ |
| 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/drivers/net/wireless/st/cw1200/ |
| 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/drivers/pci/hotplug/ |
| 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 …]
|
| 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 …]
|
| 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/drivers/scsi/mpt3sas/ |
| 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/Documentation/trace/coresight/ |
| 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/drivers/scsi/megaraid/ |
| 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/Documentation/devicetree/bindings/soc/socionext/ |
| 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/drivers/net/wireless/ath/ath9k/ |
| 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() 875 sc->debug.regidx = regidx; in write_file_regidx() 1406 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug() 1407 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug() 1422 sc->debug.debugfs_phy, in ath9k_init_debug() [all …]
|
| A 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() 438 #define STXBASE priv->debug.tx_stats 439 #define SRXBASE priv->debug.rx_stats 440 #define SKBTXBASE priv->debug.tx_stats 503 ath9k_cmn_debug_recv(priv->debug.debugfs_phy, &priv->debug.rx_stats); in ath9k_htc_init_debug() [all …]
|
| /linux/Documentation/devicetree/bindings/arm/ |
| 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/Documentation/translations/zh_CN/dev-tools/ |
| 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/drivers/scsi/fnic/ |
| A D | fnic_debugfs.c | 437 if (!debug) in fnic_reset_stats_open() 442 file->private_data = debug; in fnic_reset_stats_open() 558 kfree(debug); in fnic_reset_stats_release() 584 if (!debug) in fnic_stats_debugfs_open() 588 if (!debug->debug_buffer) { in fnic_stats_debugfs_open() 589 kfree(debug); in fnic_stats_debugfs_open() 593 debug->buf_size = buf_size; in fnic_stats_debugfs_open() 595 debug->buffer_len = fnic_get_stats_data(debug, fnic_stats); in fnic_stats_debugfs_open() 626 debug->debug_buffer, in fnic_stats_debugfs_read() 627 debug->buffer_len); in fnic_stats_debugfs_read() [all …]
|
| /linux/Documentation/driver-api/usb/ |
| 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/Documentation/ABI/testing/ |
| A D | debugfs-hisi-hpre | 1 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs 4 Description: Dump debug registers from the HPRE cluster. 14 What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en 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. 46 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs 49 Description: Dump debug registers from the QM. 51 has one debug register. [all …]
|
| /linux/drivers/net/fddi/skfp/ |
| 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/drivers/scsi/ |
| 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 …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| A D | debug.c | 290 if (ar->debug.fw_stats_done) { in ath10k_debug_fw_stats_process() 644 reg_addr = ar->debug.reg_addr; in ath10k_reg_addr_read() 1029 ar->debug.fw_dbglog_mask, ar->debug.fw_dbglog_level); in ath10k_read_fw_dbglog() 1310 ar->debug.cal_data, in ath10k_debug_cal_data_read() 1475 kfree(ar->debug.tpc_stats); in ath10k_debug_tpc_stats_process() 1791 ar->debug.dfs_stats.p)) 1814 ar->debug.dfs_pool_stats = in ath10k_read_dfs_stats() 2501 if (!ar->debug.cal_data) in ath10k_debug_create() 2514 vfree(ar->debug.cal_data); in ath10k_debug_destroy() 2515 ar->debug.cal_data = NULL; in ath10k_debug_destroy() [all …]
|
| /linux/drivers/scsi/lpfc/ |
| A D | lpfc_debugfs.c | 1947 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_disc_trc_open() 1997 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_slow_ring_trc_open() 2041 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_hbqinfo_open() 2083 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_multixripools_open() 2128 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_lockstat_open() 2265 debug = kzalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_ras_log_open() 2312 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_dumpHBASlim_open() 2354 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_dumpHostSlim_open() 2494 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_nodelist_open() 2660 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_nvmestat_open() [all …]
|
| /linux/scripts/ |
| A D | Makefile.debug | 4 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) 30 DEBUG_CFLAGS += -femit-struct-debug-baseonly 40 KBUILD_LDFLAGS += --compress-debug-sections=zlib 45 KBUILD_LDFLAGS += --compress-debug-sections=zstd
|