Home
last modified time | relevance | path

Searched refs:kdb_printf (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/kernel/module/
Dkdb.c24 kdb_printf("Module Size modstruct Used by\n"); in kdb_lsmod()
29 kdb_printf("%-20s%8u", mod->name, mod->mem[MOD_TEXT].size); in kdb_lsmod()
30 kdb_printf("/%8u", mod->mem[MOD_RODATA].size); in kdb_lsmod()
31 kdb_printf("/%8u", mod->mem[MOD_RO_AFTER_INIT].size); in kdb_lsmod()
32 kdb_printf("/%8u", mod->mem[MOD_DATA].size); in kdb_lsmod()
34 kdb_printf(" 0x%px ", (void *)mod); in kdb_lsmod()
36 kdb_printf("%4d ", module_refcount(mod)); in kdb_lsmod()
39 kdb_printf(" (Unloading)"); in kdb_lsmod()
41 kdb_printf(" (Loading)"); in kdb_lsmod()
43 kdb_printf(" (Live)"); in kdb_lsmod()
[all …]
/linux-6.6.21/kernel/debug/kdb/
Dkdb_main.c400 kdb_printf("%s\n", __env[i]); in kdb_printenv()
491 kdb_printf("kdb: illegal debug flags '%s'\n", in kdb_set()
511 kdb_printf("No current kdb registers." in kdb_check_regs()
682 kdb_printf("no error detected (diagnostic is %d)\n", diag); in kdb_cmderror()
688 kdb_printf("diag: %d: %s\n", diag, kdbmsgs[i].km_msg); in kdb_cmderror()
693 kdb_printf("Unknown diag %d\n", -diag); in kdb_cmderror()
740 kdb_printf("Could not allocate new kdb macro command: %s\n", in kdb_defcmd2()
756 kdb_printf("kdb: nested defcmd detected, assuming missing " in kdb_defcmd()
767 kdb_printf("defcmd %s \"%s\" \"%s\"\n", in kdb_defcmd()
772 kdb_printf("%s", kms->statement); in kdb_defcmd()
[all …]
Dkdb_io.c38 kdb_printf("%s", buffer); in kgdb_transition_check()
238 kdb_printf("%s", buffer); in kdb_read()
252 kdb_printf("\b%s \r", cp); in kdb_read()
255 kdb_printf(kdb_prompt_str); in kdb_read()
256 kdb_printf("%s", buffer); in kdb_read()
266 kdb_printf("%s", buffer); in kdb_read()
268 kdb_printf("\n"); in kdb_read()
275 kdb_printf("%s \r", cp); in kdb_read()
278 kdb_printf(kdb_prompt_str); in kdb_read()
279 kdb_printf("%s", buffer); in kdb_read()
[all …]
Dkdb_bp.c111 kdb_printf("regs->ip = 0x%lx\n", instruction_pointer(regs)); in kdb_handle_bp()
133 kdb_printf("%s: bp_installed %d\n", in _kdb_bp_install()
141 kdb_printf("%s: delayed bp\n", __func__); in _kdb_bp_install()
154 kdb_printf("%s: failed to set breakpoint at 0x%lx\n", in _kdb_bp_install()
157 kdb_printf("Software breakpoints are unavailable.\n" in _kdb_bp_install()
182 kdb_printf("%s: bp %d bp_enabled %d\n", in kdb_bp_install()
213 kdb_printf("%s: bp %d bp_enabled %d\n", in kdb_bp_remove()
240 kdb_printf("%s ", kdb_bptype(bp)); in kdb_printbp()
241 kdb_printf("BP #%d at ", i); in kdb_printbp()
245 kdb_printf("\n is enabled "); in kdb_printbp()
[all …]
Dkdb_bt.c86 kdb_printf("Stack traceback for pid %d\n", p->pid); in kdb_bt1()
90 kdb_printf("Enter <q> to end, <cr> or <space> to continue:"); in kdb_bt1()
94 kdb_printf("\n"); in kdb_bt1()
112 kdb_printf("WARNING: no process for cpu %ld\n", cpu); in kdb_bt_cpu()
119 kdb_printf("WARNING: no task for cpu %ld\n", cpu); in kdb_bt_cpu()
171 kdb_printf("No process with pid == %ld found\n", pid); in kdb_bt()
197 kdb_printf("btc: cpu status: "); in kdb_bt()
Dkdb_support.c211 kdb_printf(" "); in kdb_symbol_print()
213 kdb_printf(kdb_machreg_fmt0, addr); in kdb_symbol_print()
216 kdb_printf(" "); in kdb_symbol_print()
218 kdb_printf("("); in kdb_symbol_print()
220 kdb_printf("[%s]", symtab_p2->mod_name); in kdb_symbol_print()
221 kdb_printf("%s", symtab_p2->sym_name); in kdb_symbol_print()
223 kdb_printf("+0x%lx", addr - symtab_p2->sym_start); in kdb_symbol_print()
225 kdb_printf("/0x%lx", in kdb_symbol_print()
228 kdb_printf(")"); in kdb_symbol_print()
231 kdb_printf(" "); in kdb_symbol_print()
[all …]
Dkdb_keyboard.c167 kdb_printf("Unknown state/scancode (%d)\n", scancode); in kdb_get_kbd_char()
Dkdb_private.h235 kdb_printf("%s: " format, __func__, ## args)
/linux-6.6.21/kernel/trace/
Dtrace_kdb.c36 kdb_printf("Dumping ftrace buffer:\n"); in ftrace_dump_buf()
38 kdb_printf("(skipping %d entries)\n", skip_entries); in ftrace_dump_buf()
62 kdb_printf("---------------------------------\n"); in ftrace_dump_buf()
77 kdb_printf(" (ftrace buffer empty)\n"); in ftrace_dump_buf()
79 kdb_printf("---------------------------------\n"); in ftrace_dump_buf()
/linux-6.6.21/samples/kdb/
Dkdb_hello.c24 kdb_printf("Hello %s.\n", argv[1]); in kdb_hello_cmd()
26 kdb_printf("Hello world!\n"); in kdb_hello_cmd()
/linux-6.6.21/include/linux/
Dkdb.h180 extern __printf(1, 2) int kdb_printf(const char *, ...);
214 static inline __printf(1, 2) int kdb_printf(const char *fmt, ...) { return 0; } in kdb_printf() function
/linux-6.6.21/drivers/tty/serial/
Dkgdb_nmi.c144 kdb_printf("%c", c); in kgdb_nmi_poll_one_knock()
148 kdb_printf("\r%s %s to enter the debugger> %*s", in kgdb_nmi_poll_one_knock()
152 kdb_printf("\b"); in kgdb_nmi_poll_one_knock()
/linux-6.6.21/kernel/debug/
Ddebug_core.c464 kdb_printf("ERROR: Task on cpu %d didn't stop in the debugger\n", in kdb_dump_stack_on_cpu()
1013 kdb_printf("PANIC: %s\n", msg); in kgdb_panic()
/linux-6.6.21/kernel/
Dsignal.c4834 kdb_printf("Can't do kill command now.\n" in kdb_send_sig()
4843 kdb_printf("Process is not RUNNING, sending a signal from " in kdb_send_sig()
4854 kdb_printf("Fail to deliver Signal %d to process %d.\n", in kdb_send_sig()
4857 kdb_printf("Signal %d is sent to process %d.\n", sig, t->pid); in kdb_send_sig()
/linux-6.6.21/drivers/acpi/
Dosl.c160 kdb_printf("%s", buffer); in acpi_os_vprintf()
/linux-6.6.21/Documentation/dev-tools/
Dkgdb.rst771 - The implementation for kdb_printf() which emits messages directly