/linux/Documentation/arch/s390/ |
H A D | s390dbf.rst | 2 S390 Debug Feature 6 - 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 [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-cpu-debug.rst | 2 Coresight CPU Debug Module 11 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 [all …]
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-adv.c | 13 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.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step() [all …]
|
/linux/Documentation/driver-api/usb/ |
H A D | usb3-debug-port.rst | 2 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/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-debug.c | 196 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->debugfs_dir, in rkisp1_debug_init() 209 &debug->inform_size_error); in rkisp1_debug_init() [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,coresight-cpu-debug.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-cpu-debug.yaml# 7 title: CoreSight CPU Debug Component 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 [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | debugfs-driver-habanalabs | 1 What: /sys/kernel/debug/accel/<parent_device>/addr 11 What: /sys/kernel/debug/accel/<parent_device>/clk_gate 17 What: /sys/kernel/debug/accel/<parent_device>/command_buffers 24 What: /sys/kernel/debug/accel/<parent_device>/command_submission 31 What: /sys/kernel/debug/accel/<parent_device>/command_submission_jobs 38 What: /sys/kernel/debug/accel/<parent_device>/data32 53 What: /sys/kernel/debug/accel/<parent_device>/data64 68 What: /sys/kernel/debug/accel/<parent_device>/data_dma 86 What: /sys/kernel/debug/accel/<parent_device>/device 94 What: /sys/kernel/debug/accel/<parent_device>/device_release_watchdog_timeout [all …]
|
H A D | sysfs-bus-pci-drivers-xhci_hcd | 6 USB3 controllers) are often implemented with the Debug 7 Capability (DbC). It can present a debug device which 10 serial link for debug purpose. 12 The DbC debug device shares a root port with xHCI host. 14 to the Debug Capability. Otherwise, it will be assigned 32 presented in the USB device descriptor by this xhci debug 34 Value can only be changed while debug capability (DbC) is in 45 presented in the USB device descriptor by this xhci debug 47 Value can only be changed while debug capability (DbC) is in 57 presented in the USB device descriptor by this xhci debug [all …]
|
H A D | debugfs-intel-iommu | 1 What: /sys/kernel/debug/iommu/intel/iommu_regset 11 $ sudo cat /sys/kernel/debug/iommu/intel/iommu_regset 46 What: /sys/kernel/debug/iommu/intel/ir_translation_struct 57 $ sudo cat /sys/kernel/debug/iommu/intel/ir_translation_struct 79 What: /sys/kernel/debug/iommu/intel/dmar_translation_struct 93 $ sudo cat /sys/kernel/debug/iommu/intel/dmar_translation_struct 117 What: /sys/kernel/debug/iommu/intel/invalidation_queue 128 $ sudo cat /sys/kernel/debug/iommu/intel/invalidation_queue 153 What: /sys/kernel/debug/iommu/intel/dmar_perf_latency 161 /sys/kernel/debug/iommu/intel/dmar_perf_latency [all …]
|
H A D | debugfs-driver-genwqe | 1 What: /sys/kernel/debug/genwqe/genwqe<n>_card/ddcb_info 6 What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_regs 12 What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid0 18 What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid1 24 What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid2 30 What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_regs 37 What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid0 43 What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid1 49 What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid2 55 What: /sys/kernel/debug/genwqe/genwqe<n>_card/info [all …]
|
/linux/Documentation/fault-injection/ |
H A D | fault-injection.rst | 40 debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request 46 under /sys/kernel/debug/fail_function. No boot option supported. 66 /sys/kernel/debug/fail_skb_realloc/devname. 77 debugfs entries under /sys/kernel/debug/nvme*/fault_inject. The default 99 - /sys/kernel/debug/fail*/probability: 107 /sys/kernel/debug/fail*/interval for such testcases. 109 - /sys/kernel/debug/fail*/interval: 117 - /sys/kernel/debug/fail*/times: 122 - /sys/kernel/debug/fail*/space: 128 - /sys/kernel/debug/fail*/verbose [all …]
|
/linux/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() 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/Documentation/devicetree/bindings/soc/socionext/ |
H A D | socionext,uniphier-soc-glue-debug.yaml | 4 $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/drivers/pci/hotplug/ |
H A D | ibmphp_ebda.c | 114 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 …]
|
H A D | ibmphp_core.c | 39 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 …]
|
/linux/Documentation/admin-guide/ |
H A D | btmrvl.rst | 10 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/fs/orangefs/ |
H A D | orangefs-debugfs.c | 3 * What: /sys/kernel/debug/orangefs/debug-help 7 * List of client and kernel debug keywords. 10 * What: /sys/kernel/debug/orangefs/client-debug 14 * Debug setting for "the client", the userspace 18 * What: /sys/kernel/debug/orangefs/kernel-debug 22 * Debug setting for the orangefs kernel module. 25 * of keywords, from debug-help can be catted to 26 * client-debug or kernel-debug. 29 * for client-debug. Setting client-debug to "all" 35 * "none" and "all" are similar settings for kernel-debug [all …]
|
/linux/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 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/kmemleak 输出的所有的未引用对象。在执行 'clear' 后执行 'scan' [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | debug.c | 17 #include "debug.h" 55 ath10k_info(ar, "kconfig debug %d debugfs %d tracing %d dfs %d testmode %d\n", in ath10k_debug_print_hwfw_info() 247 ar->debug.fw_stats_done = false; in ath10k_debug_fw_stats_reset() 248 ar->debug.fw_stats.extended = false; in ath10k_debug_fw_stats_reset() 249 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset() 250 ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset() 251 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset() 252 ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_reset() 290 if (ar->debug.fw_stats_done) { in ath10k_debug_fw_stats_process() 297 num_peers = list_count_nodes(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process() [all …]
|
/linux/Documentation/arch/x86/ |
H A D | earlyprintk.rst | 8 USB2 Debug port key and a debug cable, on x86 systems. 10 You need two computers, the 'USB debug key' special gadget and 13 [host/target] <-------> [USB debug key] <-------> [client/console] 18 a) Host/target system needs to have USB debug port capability. 20 You can check this capability by looking at a 'Debug port' bit in 35 Capabilities: [58] Debug port: BAR=1 offset=00a0 42 If your system does not list a debug port capability then you probably 43 won't be able to use the USB debug key. 45 b) You also need a NetChip USB debug cable/key: 55 debug port on the "host/target" system. You cannot use a USB hub in [all …]
|
/linux/include/dt-bindings/pinctrl/ |
H A D | k210-fpioa.h | 238 #define K210_PCF_DEBUG0 224 /* Debug function 0 */ 239 #define K210_PCF_DEBUG1 225 /* Debug function 1 */ 240 #define K210_PCF_DEBUG2 226 /* Debug function 2 */ 241 #define K210_PCF_DEBUG3 227 /* Debug function 3 */ 242 #define K210_PCF_DEBUG4 228 /* Debug function 4 */ 243 #define K210_PCF_DEBUG5 229 /* Debug function 5 */ 244 #define K210_PCF_DEBUG6 230 /* Debug function 6 */ 245 #define K210_PCF_DEBUG7 231 /* Debug function 7 */ 246 #define K210_PCF_DEBUG8 232 /* Debug function 8 */ 247 #define K210_PCF_DEBUG9 233 /* Debug function 9 */ [all …]
|
/linux/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 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/drivers/net/wireless/ath/ath9k/ |
H 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() 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/drivers/net/fddi/skfp/ |
H A D | smtinit.c | 24 /* define global debug variable */ 25 #if defined(DEBUG) && !defined(DEBUG_BRD) 26 struct smt_debug debug; variable 65 #if defined(DEBUG) && !defined(DEBUG_BRD) in init_smt() 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() [all …]
|
/linux/drivers/crypto/hisilicon/ |
H A D | debugfs.c | 136 struct qm_debug *debug = file->debug; in file_to_qm() local 138 return container_of(debug, struct hisi_qm, debug); in file_to_qm() 338 memset(sqe + qm->debug.sqe_mask_offset, QM_SQE_ADDR_MASK, in qm_sq_dump() 339 qm->debug.sqe_mask_len); in qm_sq_dump() 633 if (val >= qm->debug.curr_qm_qp_num) in current_q_write() 697 qm->debug.curr_qm_qp_num = qm->qp_num; in current_qm_write() 699 qm->debug.curr_qm_qp_num = qm_get_vf_qp_num(qm, val); in current_qm_write() 879 qm->debug.qm_diff_regs = dfx_regs_init(qm, qm_diff_regs, ARRAY_SIZE(qm_diff_regs)); in qm_diff_regs_init() 880 if (IS_ERR(qm->debug.qm_diff_regs)) { in qm_diff_regs_init() 881 ret = PTR_ERR(qm->debug.qm_diff_regs); in qm_diff_regs_init() [all …]
|