| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | debug.h | 3 * S/390 debug facility 17 #define DEBUG_MAX_LEVEL 6 /* debug levels range from 0 to 6 */ 18 #define DEBUG_OFF_LEVEL -1 /* level where debug is switched off */ 22 #define DEBUG_DEFAULT_LEVEL 3 /* initial debug level */ 24 #define DEBUG_DIR_ROOT "s390dbf" /* name of debug root directory in proc fs */ 29 #define __DEBUG_FEATURE_VERSION 3 /* version of debug feature */ 105 /* Debug Feature API: */ 123 * debug_level_enabled() - Returns true if debug events for the specified 126 * @id: handle for debug log 127 * @level: debug level [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | rkpatch.sh | 9 --help|-help|help|--h|-h|debug|'') 12 echo " 1. lib/initcall.c debug() -> printf()" 13 echo " 2. common/board_r.c and common/board_f.c debug() -> printf()" 14 echo " 3. global #define DEBUG" 22 echo " 11. firmware bootflow debug() -> printf()" 38 echo "DEBUG [0]: CONFIG_BOOTDELAY is 0s" 41 sed -i 's/\<debug\>/printf/g' lib/initcall.c 42 sed -i 's/ifdef DEBUG/if 1/g' lib/initcall.c 43 echo "DEBUG [1]: lib/initcall.c debug() -> printf()" 46 sed -i 's/\<debug\>/printf/g' ./common/board_f.c [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/x86_64/ |
| H A D | debug_regs.c | 3 * KVM guest debug register tests 17 /* For testing data access debug BP */ 54 #define CLEAR_DEBUG() memset(&debug, 0, sizeof(debug)) 55 #define APPLY_DEBUG() vcpu_set_guest_debug(vm, VCPU_ID, &debug) 66 struct kvm_guest_debug debug; in main() local 93 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main() 97 run->debug.arch.exception == BP_VECTOR && in main() 98 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main() 100 run->exit_reason, run->debug.arch.exception, in main() 101 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/ |
| H A D | dp_debug.c | 49 struct dp_debug_private *debug = file->private_data; in dp_debug_read_info() local 57 if (!debug) in dp_debug_read_info() 67 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_read_info() 75 debug->panel->max_pclk_khz); in dp_debug_read_info() 81 debug->panel->link_info.rate); in dp_debug_read_info() 87 debug->panel->link_info.num_lanes); in dp_debug_read_info() 93 debug->panel->link_info.capabilities); in dp_debug_read_info() 127 debug->panel->dp_mode.h_active_low, in dp_debug_read_info() 128 debug->panel->dp_mode.v_active_low); in dp_debug_read_info() 152 debug->panel->dp_mode.bpp); in dp_debug_read_info() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/ |
| H A D | Debugging-Output.html | 91 <a name="index-set-debug"></a> 94 <dt><code>set debug aarch64</code></dt> 97 <a name="index-show-debug"></a> 99 <dt><code>show debug aarch64</code></dt> 105 <dt><code>set debug arch</code></dt> 108 <dt><code>show debug arch</code></dt> 111 <dt><code>set debug aix-solib</code></dt> 116 <dt><code>show debug aix-thread</code></dt> 119 <dt><code>set debug aix-thread</code></dt> 124 <dt><code>show debug aix-thread</code></dt> [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/ |
| H A D | Debugging-Output.html | 91 <a name="index-set-debug"></a> 94 <dt><code>set debug aarch64</code></dt> 97 <a name="index-show-debug"></a> 99 <dt><code>show debug aarch64</code></dt> 105 <dt><code>set debug arch</code></dt> 108 <dt><code>show debug arch</code></dt> 111 <dt><code>set debug aix-solib</code></dt> 116 <dt><code>show debug aix-thread</code></dt> 119 <dt><code>set debug aix-thread</code></dt> 124 <dt><code>show debug aix-thread</code></dt> [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/ |
| H A D | Kconfig.debug | 132 Say Y here if you want the debug print routines to direct 190 Say Y here if you want the debug print routines to direct 219 Say Y here if you want the debug print routines to direct 229 This low level debug works for Broadcom 238 bool "Marvell Berlin SoC Debug UART" 246 bool "Use BRCMSTB UART for low-level debug" 249 Say Y here if you want the debug print routines to direct 261 Say Y here if you want the debug print routines to direct 268 Say Y here if you want the debug print routines to direct 276 Say Y here if you want the debug print routines to direct [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/wimax/ |
| H A D | debug.h | 4 * Collection of tools to manage debug operations. 14 * debug action (like printing a message) if the current debug level 22 * A call to d_test(L) (L being the target debug level) returns true 23 * if the action should be taken because the current debug levels 30 * DEBUG LEVELS 34 * Convention sets 0 as "no debug" (so an action marked as debug level 0 35 * will always be taken). The increasing debug levels are used for 48 * - a debug-levels.h header file that declares the list of 52 * - some (optional) .c code to manipulate the runtime debug levels 55 * The debug-levels.h file would look like: [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/ddr/altera/ |
| H A D | sdram.c | 65 debug("workaround rows - memsize %lld\n", memsize); in get_errata_rows() 66 debug("workaround rows - cs %d\n", cs); in get_errata_rows() 67 debug("workaround rows - width %d\n", width); in get_errata_rows() 68 debug("workaround rows - rows %d\n", rows); in get_errata_rows() 69 debug("workaround rows - banks %d\n", banks); in get_errata_rows() 70 debug("workaround rows - cols %d\n", cols); in get_errata_rows() 73 debug("rows workaround - term1 %lld\n", newrows); in get_errata_rows() 76 debug("rows workaround - term2 %lld\n", newrows); in get_errata_rows() 85 debug("rows workaround - bits %d\n", bits); in get_errata_rows() 99 debug("rows workaround - ilog2 %d, %lld\n", inewrowslog2, newrows); in get_errata_rows() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | rndis.c | 167 #if defined(DEBUG) && defined(DEBUG_VERBOSE) in gen_ndis_query_resp() 169 debug("query OID %08x value, len %d:\n", OID, buf_len); in gen_ndis_query_resp() 171 debug("%03d: %08x %08x %08x %08x\n", i, in gen_ndis_query_resp() 191 debug("%s: OID_GEN_SUPPORTED_LIST\n", __func__); in gen_ndis_query_resp() 201 debug("%s: OID_GEN_HARDWARE_STATUS\n", __func__); in gen_ndis_query_resp() 215 debug("%s: OID_GEN_MEDIA_SUPPORTED\n", __func__); in gen_ndis_query_resp() 222 debug("%s: OID_GEN_MEDIA_IN_USE\n", __func__); in gen_ndis_query_resp() 230 debug("%s: OID_GEN_MAXIMUM_FRAME_SIZE\n", __func__); in gen_ndis_query_resp() 239 #if defined(DEBUG) && defined(DEBUG_VERBOSE) in gen_ndis_query_resp() 240 debug("%s: OID_GEN_LINK_SPEED\n", __func__); in gen_ndis_query_resp() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/fault-injection/ |
| H A D | fault-injection.rst | 36 debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request 42 under /sys/kernel/debug/fail_function. No boot option supported. 47 debugfs entries under /sys/kernel/debug/nvme*/fault_inject. The default 61 - /sys/kernel/debug/fail*/probability: 69 /sys/kernel/debug/fail*/interval for such testcases. 71 - /sys/kernel/debug/fail*/interval: 79 - /sys/kernel/debug/fail*/times: 84 - /sys/kernel/debug/fail*/space: 90 - /sys/kernel/debug/fail*/verbose 97 to debug the problems revealed by fault injection. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H 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. 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>/regs 33 Description: Dump debug registers from the HPRE. 36 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs [all …]
|
| H A D | debugfs-hisi-zip | 1 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>/qm/regs 32 Description: Dump of QM related debug registers. 34 has one debug register. [all …]
|
| H A D | debugfs-hisi-sec | 1 What: /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable 5 the SEC debug registers. 9 What: /sys/kernel/debug/hisi_sec2/<bdf>/current_qm 17 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs 20 Description: Dump of QM related debug registers. 22 has one debug register. 24 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q 28 queue to show its debug registers in above 'regs'. 31 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable 35 the SEC's QM debug registers. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ddr/fsl/ |
| H A D | mpc85xx_ddr_gen3.c | 73 debug("Workaround for ERRATUM_DDR111_DDR134\n"); in fsl_ddr_set_memctl_regs() 85 debug("Found cs%d_bns (0x%08x) covering 0xff000000, " in fsl_ddr_set_memctl_regs() 172 if (regs->debug[i]) { in fsl_ddr_set_memctl_regs() 173 debug("Write to debug_%d as %08x\n", i+1, regs->debug[i]); in fsl_ddr_set_memctl_regs() 174 out_be32(&ddr->debug[i], regs->debug[i]); in fsl_ddr_set_memctl_regs() 179 out_be32(&ddr->debug[12], 0x00000015); in fsl_ddr_set_memctl_regs() 180 out_be32(&ddr->debug[21], 0x24000000); in fsl_ddr_set_memctl_regs() 202 debug("Workaround for ERRATUM_DDR_A003\n"); in fsl_ddr_set_memctl_regs() 205 out_be32(&ddr->debug[2], 0x00000400); in fsl_ddr_set_memctl_regs() 210 save1 = in_be32(&ddr->debug[12]); in fsl_ddr_set_memctl_regs() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/wimax/ |
| H A D | i2400m.rst | 162 5.2. Debug operations: debugfs entries 166 debug settings. There are three main container directories where 170 * /sys/kernel/debug/wimax:DEVNAME/ for the generic WiMAX stack 172 * /sys/kernel/debug/wimax:DEVNAME/i2400m for the i2400m generic 174 * /sys/kernel/debug/wimax:DEVNAME/i2400m-usb (or -sdio) for the 178 /sys/kernel/debug, those paths will change. 180 5.2.1. Increasing debug output 183 The files named *dl_* indicate knobs for controlling the debug output 186 # find /sys/kernel/debug/wimax\:wmx0 -name \*dl_\* 187 /sys/kernel/debug/wimax:wmx0/i2400m-usb/dl_tx [all …]
|
| H A D | wimax.rst | 44 files will appear in /sys/kernel/debug/wimax:wmxX can tweak for 47 2.1. Obtaining debug information: debugfs entries 50 The WiMAX stack is compiled, by default, with debug messages that can 54 debug settings. 60 2.1.1. Increasing debug output 63 The files named *dl_* indicate knobs for controlling the debug output 66 # find /sys/kernel/debug/wimax\:wmx0 -name \*dl_\* 67 /sys/kernel/debug/wimax:wmx0/wimax_dl_stack 68 /sys/kernel/debug/wimax:wmx0/wimax_dl_op_rfkill 69 /sys/kernel/debug/wimax:wmx0/wimax_dl_op_reset [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/ |
| H A D | coresight-cpu-debug.txt | 1 * CoreSight CPU Debug Component: 3 CoreSight CPU debug component are compliant with the ARMv8 architecture 4 reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug'. The 5 external debug module is mainly used for two modes: self-hosted debug and 6 external debug, and it can be accessed from mmio region from Coresight 7 and eventually the debug module connects with CPU for debugging. And the 8 debug module provides sample-based profiling extension, which can be used 10 usually every CPU has one dedicated debug module to be connected. 14 - compatible : should be "arm,coresight-cpu-debug"; supplemented with 25 mandatory. The interface between the debug logic and the [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/ |
| H A D | debug.c | 32 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/sample/ |
| H A D | sample_image_process.cpp | 57 void (*debug)(const void *arg); member 64 .debug = _debug, \ 156 info->debug (nullptr); in sample_main() 162 info->debug (nullptr); in sample_main() 168 info->debug (nullptr); in sample_main() 174 info->debug (nullptr); in sample_main() 180 info->debug (nullptr); in sample_main() 187 info->debug (nullptr); in sample_main() 193 info->debug (nullptr); in sample_main() 199 info->debug (nullptr); in sample_main() [all …]
|