/linux-4.4.14/kernel/debug/kdb/ |
H A D | kdb_io.c | 38 kdb_printf("%s", buffer); kgdb_transition_check() 233 kdb_printf("%s", buffer); kdb_read() 249 kdb_printf("\b%s \r", cp); kdb_read() 252 kdb_printf(kdb_prompt_str); kdb_read() 253 kdb_printf("%s", buffer); kdb_read() 262 kdb_printf("%s", buffer); kdb_read() 264 kdb_printf("\n"); kdb_read() 271 kdb_printf("%s \r", cp); kdb_read() 274 kdb_printf(kdb_prompt_str); kdb_read() 275 kdb_printf("%s", buffer); kdb_read() 281 kdb_printf("\r"); kdb_read() 282 kdb_printf(kdb_prompt_str); kdb_read() 288 kdb_printf("%s", cp); kdb_read() 294 kdb_printf("\b"); kdb_read() 303 kdb_printf("\r%s\r", tmpbuffer); kdb_read() 309 kdb_printf("%c", *cp); kdb_read() 318 kdb_printf("\r%s\r", tmpbuffer); kdb_read() 342 kdb_printf("\n%d symbols are found.", count); kdb_read() 345 kdb_printf(" But only first %d symbols will" kdb_read() 350 kdb_printf("\n"); kdb_read() 354 kdb_printf("%s ", p_tmp); kdb_read() 358 kdb_printf("..."); kdb_read() 359 kdb_printf("\n"); kdb_read() 360 kdb_printf(kdb_prompt_str); kdb_read() 361 kdb_printf("%s", buffer); kdb_read() 368 kdb_printf("%s", cp); kdb_read() 381 kdb_printf("%s\r", cp); kdb_read() 385 kdb_printf(kdb_prompt_str); kdb_read() 386 kdb_printf("%s", buffer); kdb_read() 399 kdb_printf("%c", key); kdb_read() 446 kdb_printf(kdb_prompt_str); kdb_getstr() 490 * kdb_printf 571 /* Serialize kdb_printf if multiple cpus try to write at once. vkdb_printf() 753 * kdb_printf will come back through here. And kdb_read vkdb_printf() 754 * uses kdb_printf to echo on serial consoles ... vkdb_printf() 799 kdb_printf("\n"); vkdb_printf() 801 kdb_printf("\r"); vkdb_printf() 805 kdb_printf("\r"); vkdb_printf() 808 kdb_printf("\r"); vkdb_printf() 818 kdb_printf( vkdb_printf() 822 kdb_printf("\n'/' cannot be used during | " vkdb_printf() 827 kdb_printf("\n"); vkdb_printf() 863 int kdb_printf(const char *fmt, ...) kdb_printf() function 874 EXPORT_SYMBOL_GPL(kdb_printf); variable
|
H A D | kdb_main.c | 409 kdb_printf("kdb: illegal debug flags '%s'\n", kdb_set() 460 kdb_printf("No current kdb registers." kdb_check_regs() 631 kdb_printf("no error detected (diagnostic is %d)\n", diag); kdb_cmderror() 637 kdb_printf("diag: %d: %s\n", diag, kdbmsgs[i].km_msg); kdb_cmderror() 642 kdb_printf("Unknown diag %d\n", -diag); kdb_cmderror() 694 kdb_printf("Could not allocate new kdb_defcmd table for %s\n", kdb_defcmd2() 709 kdb_printf("kdb: nested defcmd detected, assuming missing " kdb_defcmd() 716 kdb_printf("defcmd %s \"%s\" \"%s\"\n", s->name, kdb_defcmd() 719 kdb_printf("%s", s->command[i]); kdb_defcmd() 720 kdb_printf("endefcmd\n"); kdb_defcmd() 727 kdb_printf("Command only available during kdb_init()\n"); kdb_defcmd() 767 kdb_printf("Could not allocate new defcmd_set entry for %s\n", argv[1]); kdb_defcmd() 792 kdb_printf("kdb_exec_defcmd: could not find commands for %s\n", kdb_exec_defcmd() 800 kdb_printf("[%s]kdb> %s\n", s->name, s->command[i]); kdb_exec_defcmd() 810 #define CMD_BUFLEN 200 /* kdb_printf: max printline 832 kdb_printf("invalid 'pipe', see grephelp\n"); parse_grep() 843 kdb_printf("invalid 'pipe', see grephelp\n"); parse_grep() 853 kdb_printf("invalid quoted string, see grephelp\n"); parse_grep() 873 kdb_printf("search string too long\n"); parse_grep() 948 kdb_printf("kdb_parse: command buffer " 954 kdb_printf("kdb_parse: too many arguments, " 1084 kdb_printf("%s = ", argv[0]); 1086 kdb_printf("\n"); 1122 kdb_printf("Hmm, kdb_reboot did not reboot, spinning here\n"); kdb_reboot() 1136 kdb_printf("\n"); kdb_dumpregs() 1183 kdb_printf("\nEntering kdb (current=0x%p, pid %d) ", kdb_local() 1186 kdb_printf("on processor %d ", raw_smp_processor_id()); kdb_local() 1199 kdb_printf("\nEntering kdb (0x%p, pid %d) ", kdb_local() 1202 kdb_printf("on processor %d ", raw_smp_processor_id()); kdb_local() 1204 kdb_printf("due to Debug @ " kdb_machreg_fmt "\n", kdb_local() 1213 kdb_printf("kdb: Bad result from kdba_db_trap: %d\n", kdb_local() 1222 kdb_printf("due to Keyboard Entry\n"); kdb_local() 1224 kdb_printf("due to KDB_ENTER()\n"); kdb_local() 1228 kdb_printf("due to Keyboard Entry\n"); kdb_local() 1233 kdb_printf("due to cpu switch\n"); kdb_local() 1236 kdb_printf("Oops: %s\n", kdb_diemsg); kdb_local() 1237 kdb_printf("due to oops @ " kdb_machreg_fmt "\n", kdb_local() 1242 kdb_printf("due to System NonMaskable Interrupt\n"); kdb_local() 1245 kdb_printf("due to NonMaskable Interrupt @ " kdb_local() 1251 kdb_printf("due to %s @ " kdb_machreg_fmt "\n", kdb_local() 1259 kdb_printf("kdb: error return from kdba_bp_trap: %d\n", kdb_local() 1266 kdb_printf("due to Recursion @ " kdb_machreg_fmt "\n", kdb_local() 1270 kdb_printf("kdb: unexpected reason code: %d\n", reason); kdb_local() 1328 kdb_printf("Unknown kdb command: '%s'\n", cmdbuf); kdb_local() 1354 kdb_printf("state: %s cpu %d value %d initial %d state %x\n", kdb_print_state() 1422 kdb_printf("Entering please attach debugger " kdb_main_loop() 1427 kdb_printf("\nUnexpected kdb_local return code %d\n", kdb_main_loop() 1457 kdb_printf("%02x", c); kdb_mdr() 1460 kdb_printf("\n"); kdb_mdr() 1487 kdb_printf("phys " kdb_machreg_fmt0 " ", addr); kdb_md_line() 1489 kdb_printf(kdb_machreg_fmt0 " ", addr); kdb_md_line() 1497 kdb_printf(fmtstr, word); kdb_md_line() 1505 kdb_printf("\n"); kdb_md_line() 1506 kdb_printf(" %s %s " kdb_md_line() 1550 kdb_printf("%*s %s\n", (int)((num-i)*(2*bytesperword + 1)+1), kdb_md_line() 1719 kdb_printf(kdb_machreg_fmt0 "-" kdb_machreg_fmt0 kdb_md() 1771 kdb_printf(kdb_machreg_fmt " = " kdb_machreg_fmt "\n", addr, contents); kdb_mm() 1788 kdb_printf("go must execute on the entry cpu, " kdb_go() 1805 kdb_printf("Catastrophic error detected\n"); kdb_go() 1806 kdb_printf("kdb_continue_catastrophic=%d, ", kdb_go() 1809 kdb_printf("type go a second time if you really want " kdb_go() 1814 kdb_printf("forcing reboot\n"); kdb_go() 1817 kdb_printf("attempting to continue\n"); kdb_go() 1846 kdb_printf("\n"); kdb_rd() 1849 len += kdb_printf(" "); kdb_rd() 1855 len += kdb_printf("%s: %02x", rname, reg8); kdb_rd() 1861 len += kdb_printf("%s: %04x", rname, reg16); kdb_rd() 1867 len += kdb_printf("%s: %08x", rname, reg32); kdb_rd() 1873 len += kdb_printf("%s: %016llx", rname, reg64); kdb_rd() 1876 len += kdb_printf("%s: ??", dbg_reg_def[i].name); kdb_rd() 1879 kdb_printf("\n"); kdb_rd() 1951 kdb_printf("ERROR: Register set currently not implemented\n"); kdb_rm() 2018 kdb_printf("Module Size modstruct Used by\n"); list_for_each_entry() 2023 kdb_printf("%-20s%8u 0x%p ", mod->name, list_for_each_entry() 2026 kdb_printf("%4d ", module_refcount(mod)); list_for_each_entry() 2029 kdb_printf(" (Unloading)"); list_for_each_entry() 2031 kdb_printf(" (Loading)"); list_for_each_entry() 2033 kdb_printf(" (Live)"); list_for_each_entry() 2034 kdb_printf(" 0x%p", mod->module_core); list_for_each_entry() 2039 kdb_printf(" [ "); list_for_each_entry() 2042 kdb_printf("%s ", use->target->name); list_for_each_entry() 2043 kdb_printf("]\n"); list_for_each_entry() 2064 kdb_printf("%s\n", __env[i]); kdb_env() 2068 kdb_printf("KDBFLAGS=0x%x\n", kdb_flags); kdb_env() 2118 kdb_printf("buffer only contains %d lines, nothing " kdb_dmesg() 2121 kdb_printf("buffer only contains %d lines, last %d " kdb_dmesg() 2129 kdb_printf("buffer only contains %d lines, " kdb_dmesg() 2135 kdb_printf("buffer only contains %d lines, first " kdb_dmesg() 2156 kdb_printf("%.*s\n", (int)len - 1, buf); kdb_dmesg() 2199 kdb_printf("Currently on cpu %d\n", raw_smp_processor_id()); kdb_cpu_status() 2200 kdb_printf("Available cpus: "); kdb_cpu_status() 2214 kdb_printf(", "); kdb_cpu_status() 2216 kdb_printf("%d", start_cpu); kdb_cpu_status() 2218 kdb_printf("-%d", i-1); kdb_cpu_status() 2220 kdb_printf("(%c)", prev_state); kdb_cpu_status() 2229 kdb_printf(", "); kdb_cpu_status() 2230 kdb_printf("%d", start_cpu); kdb_cpu_status() 2232 kdb_printf("-%d", i-1); kdb_cpu_status() 2234 kdb_printf("(%c)", prev_state); kdb_cpu_status() 2236 kdb_printf("\n"); kdb_cpu_status() 2291 kdb_printf("%d idle process%s (state I)%s\n", 2295 kdb_printf("%d sleeping system daemon (state M) " 2298 kdb_printf(" suppressed,\nuse 'ps A' to see all.\n"); 2316 kdb_printf("0x%p %8d %8d %d %4d %c 0x%p %c%s\n", kdb_ps1() 2325 kdb_printf(" Error: no saved data for this cpu\n"); kdb_ps1() 2328 kdb_printf(" Error: does not match running " kdb_ps1() 2341 kdb_printf("%-*s Pid Parent [*] cpu State %-*s Command\n", kdb_ps() 2353 kdb_printf("\n"); 2389 kdb_printf("No task with pid=%d\n", (pid_t)val); kdb_pid() 2395 kdb_printf("KDB current process is %s(pid=%d)\n", kdb_pid() 2415 kdb_printf("%-15.15s %-20.20s %s\n", "Command", "Usage", "Description"); kdb_help() 2416 kdb_printf("-----------------------------" kdb_help() 2428 kdb_printf("%-15.15s %-20s%s%s\n", kt->cmd_name, for_each_kdbcmd() 2451 kdb_printf("Invalid signal parameter.<-signal>\n"); kdb_kill() 2460 kdb_printf("Process ID must be large than 0.\n"); kdb_kill() 2467 kdb_printf("The specified process isn't found.\n"); kdb_kill() 2547 kdb_printf("sysname %s\n", init_uts_ns.name.sysname); kdb_summary() 2548 kdb_printf("release %s\n", init_uts_ns.name.release); kdb_summary() 2549 kdb_printf("version %s\n", init_uts_ns.name.version); kdb_summary() 2550 kdb_printf("machine %s\n", init_uts_ns.name.machine); kdb_summary() 2551 kdb_printf("nodename %s\n", init_uts_ns.name.nodename); kdb_summary() 2552 kdb_printf("domainname %s\n", init_uts_ns.name.domainname); kdb_summary() 2553 kdb_printf("ccversion %s\n", __stringify(CCVERSION)); kdb_summary() 2557 kdb_printf("date %04d-%02d-%02d %02d:%02d:%02d " kdb_summary() 2564 kdb_printf("uptime "); kdb_summary() 2568 kdb_printf("%d day%s ", days, days == 1 ? "" : "s"); kdb_summary() 2570 kdb_printf("%02ld:%02ld\n", val.uptime/(60*60), (val.uptime/60)%60); kdb_summary() 2576 kdb_printf("load avg %ld.%02ld %ld.%02ld %ld.%02ld\n", kdb_summary() 2584 kdb_printf("\nMemTotal: %8lu kB\nMemFree: %8lu kB\n" kdb_summary() 2621 kdb_printf("cpu %ld is not online\n", whichcpu); kdb_per_cpu() 2647 kdb_printf("%5d " kdb_bfd_vma_fmt0 " - unable to " for_each_online_cpu() 2651 kdb_printf("%5d ", cpu); for_each_online_cpu() 2665 kdb_printf("Usage of cmd args | grep pattern:\n"); kdb_grep_help() 2666 kdb_printf(" Any command's output may be filtered through an "); kdb_grep_help() 2667 kdb_printf("emulated 'pipe'.\n"); kdb_grep_help() 2668 kdb_printf(" 'grep' is just a key word.\n"); kdb_grep_help() 2669 kdb_printf(" The pattern may include a very limited set of " kdb_grep_help() 2671 kdb_printf(" pattern or ^pattern or pattern$ or ^pattern$\n"); kdb_grep_help() 2672 kdb_printf(" And if there are spaces in the pattern, you may " kdb_grep_help() 2674 kdb_printf(" \"pat tern\" or \"^pat tern\" or \"pat tern$\"" kdb_grep_help() 2707 kdb_printf("Duplicate kdb command registered: " for_each_kdbcmd() 2725 kdb_printf("Could not allocate new kdb_command " 2925 kdb_printf("kdb command %s failed, kdb diag %d\n", kdb_cmd_init() 2929 kdb_printf("Incomplete 'defcmd' set, forcing endefcmd\n"); kdb_cmd_init() 2934 /* Initialize kdb_printf, breakpoint tables and kdb state */ kdb_init()
|
H A D | kdb_bp.c | 111 kdb_printf("regs->ip = 0x%lx\n", instruction_pointer(regs)); kdb_handle_bp() 133 kdb_printf("%s: bp_installed %d\n", _kdb_bp_install() 141 kdb_printf("%s: delayed bp\n", __func__); _kdb_bp_install() 154 kdb_printf("%s: failed to set breakpoint at 0x%lx\n", _kdb_bp_install() 158 kdb_printf("Software breakpoints are unavailable.\n" _kdb_bp_install() 184 kdb_printf("%s: bp %d bp_enabled %d\n", kdb_bp_install() 215 kdb_printf("%s: bp %d bp_enabled %d\n", kdb_bp_remove() 242 kdb_printf("%s ", kdb_bptype(bp)); kdb_printbp() 243 kdb_printf("BP #%d at ", i); kdb_printbp() 247 kdb_printf("\n is enabled"); kdb_printbp() 249 kdb_printf("\n is disabled"); kdb_printbp() 251 kdb_printf("\taddr at %016lx, hardtype=%d installed=%d\n", kdb_printbp() 254 kdb_printf("\n"); kdb_printbp() 341 kdb_printf("You already have a breakpoint at " kdb_bp() 448 kdb_printf("Breakpoint %d at " kdb_bc() 459 kdb_printf("Breakpoint %d at " kdb_bc() 463 kdb_printf("\n"); kdb_bc() 471 kdb_printf("Breakpoint %d at " kdb_bc()
|
H A D | kdb_bt.c | 89 kdb_printf("Stack traceback for pid %d\n", p->pid); kdb_bt1() 96 kdb_printf("\n"); kdb_bt1() 152 kdb_printf("No process with pid == %ld found\n", pid); 178 kdb_printf("no process for cpu %ld\n", cpu); 185 kdb_printf("btc: cpu status: ");
|
H A D | kdb_support.c | 43 kdb_printf("kdbgetsymval: symname=%s, symtab=%p\n", symname, kdbgetsymval() 49 kdb_printf("kdbgetsymval: returns 1, " kdbgetsymval() 55 kdb_printf("kdbgetsymval: returns 0\n"); kdbgetsymval() 91 kdb_printf("kdbnearsym: addr=0x%lx, symtab=%p\n", addr, symtab); kdbnearsym() 98 kdb_printf("kdbnearsym: addr=0x%lx cannot kmalloc knt1\n", kdbnearsym() 151 kdb_printf("kdbnearsym: returns %d symtab->sym_start=0x%lx, " kdbnearsym() 271 kdb_printf(" "); kdb_symbol_print() 273 kdb_printf(kdb_machreg_fmt0, addr); kdb_symbol_print() 276 kdb_printf(" "); kdb_symbol_print() 278 kdb_printf("("); kdb_symbol_print() 280 kdb_printf("[%s]", symtab_p2->mod_name); kdb_symbol_print() 281 kdb_printf("%s", symtab_p2->sym_name); kdb_symbol_print() 283 kdb_printf("+0x%lx", addr - symtab_p2->sym_start); kdb_symbol_print() 285 kdb_printf("/0x%lx", kdb_symbol_print() 288 kdb_printf(")"); kdb_symbol_print() 291 kdb_printf(" "); kdb_symbol_print() 293 kdb_printf("\n"); kdb_symbol_print() 331 kdb_printf("kdb_getarea: Bad address 0x%lx\n", addr); kdb_getarea_size() 356 kdb_printf("kdb_putarea: Bad address 0x%lx\n", addr); kdb_putarea_size() 438 kdb_printf("kdb_getphysword: bad width %ld\n", (long) size); kdb_getphysword() 487 kdb_printf("kdb_getword: bad width %ld\n", (long) size); kdb_getword() 531 kdb_printf("kdb_putword: bad width %ld\n", (long) size); kdb_putword() 605 kdb_printf("%s: unknown flag '%c' ignored\n", kdb_task_state_string() 677 kdb_printf(" %-11.11s ", name); kdb_print_nameval() 682 kdb_printf("0x%lx\n", val); kdb_print_nameval() 886 kdb_printf("%s: debug_kmalloc memory leak dah_first %d\n", debug_kusage() 890 kdb_printf("%s: h_used %p size %d\n", __func__, h_used, debug_kusage() 896 kdb_printf("%s: h_used %p size %d caller %p\n", debug_kusage() 905 kdb_printf("%s: h_used %p size %d caller %p\n", debug_kusage()
|
H A D | kdb_keyboard.c | 166 kdb_printf("Unknown state/scancode (%d)\n", scancode); kdb_get_kbd_char()
|
H A D | kdb_private.h | 135 #define KDB_STATE_PRINTF_LOCK 0x00001000 /* Holds kdb_printf lock */
|
/linux-4.4.14/kernel/trace/ |
H A D | trace_kdb.c | 41 kdb_printf("Dumping ftrace buffer:\n"); 67 kdb_printf("---------------------------------\n"); 82 kdb_printf(" (ftrace buffer empty)\n"); 84 kdb_printf("---------------------------------\n");
|
/linux-4.4.14/samples/kdb/ |
H A D | kdb_hello.c | 24 kdb_printf("Hello %s.\n", argv[1]); kdb_hello_cmd() 26 kdb_printf("Hello world!\n"); kdb_hello_cmd()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 147 kdb_printf("%c", c); kgdb_nmi_poll_one_knock() 151 kdb_printf("\r%s %s to enter the debugger> %*s", kgdb_nmi_poll_one_knock() 155 kdb_printf("\b"); kgdb_nmi_poll_one_knock()
|
/linux-4.4.14/include/linux/ |
H A D | kdb.h | 160 KDB_MSGSRC_INTERNAL, /* direct call to kdb_printf() */ 167 extern __printf(1, 2) int kdb_printf(const char *, ...); 203 static inline __printf(1, 2) int kdb_printf(const char *fmt, ...) { return 0; } kdb_init() function
|
/linux-4.4.14/kernel/debug/ |
H A D | debug_core.c | 849 kdb_printf("PANIC: %s\n", (char *)data); kgdb_panic_event()
|
/linux-4.4.14/kernel/ |
H A D | signal.c | 3599 kdb_printf("Can't do kill command now.\n" kdb_send_sig_info() 3608 kdb_printf("Process is not RUNNING, sending a signal from " kdb_send_sig_info() 3618 kdb_printf("Fail to deliver Signal %d to process %d.\n", kdb_send_sig_info() 3621 kdb_printf("Signal %d is sent to process %d.\n", sig, t->pid); kdb_send_sig_info()
|
/linux-4.4.14/drivers/acpi/ |
H A D | osl.c | 232 kdb_printf("%s", buffer); acpi_os_vprintf()
|