Global Information Lookup Global Information

Printk information


printk is a C function from the Linux kernel interface that prints messages to the kernel log.[1] It accepts a string parameter called the format string, which specifies a method for rendering an arbitrary number of varied data type parameter(s) into a string.[1] The string is then printed to the kernel log.[1]

It provides a printf-like abstraction and its parsing of the format string and arguments behave similarly to printf.[1] It acts as a debugging tool for kernel programmers who need this function for logging messages from the kernel.[1]

The printk function prototype is:

int printk(const char *fmt, ...);

C standard library and its printf function are unavailable in kernel mode, hence the need for printk.[2]

  1. ^ a b c d e "Message logging with printk — The Linux Kernel documentation". www.kernel.org. Retrieved 2020-09-09.
  2. ^ ISO/IEC 9899:2018. International Standards Organization. 2018.

and 5 Related for: Printk information

Request time (Page generated in 1.4567 seconds.)

Printk

Last Update:

printk is a C function from the Linux kernel interface that prints messages to the kernel log. It accepts a string parameter called the format string,...

Word Count : 682

Printf

Last Update:

the same problems that register_printf_function() has. The Linux kernel printk function supports a number of ways to display kernel structures using the...

Word Count : 2297

Symbol table

Last Update:

AT91F_US3_CfgPIO_useB 2000005c t AT91F_PIO_CfgPeriph 200000b0 T main 20000120 T AT91F_DBGU_Printk 20000190 t AT91F_US_TxReady 200001c0 t AT91F_US_PutChar 200001f8 T AT91F_SpuriousHandler...

Word Count : 1209

Linux kernel

Last Update:

debugging technique is debugging by printing, and for this, the kernel provides printk() which stores messages in a circular buffer. The syslog(2) system call...

Word Count : 18445

Giant lock

Last Update:

built-time depency for fbdev. Daniel Vetter. June 28, 2017 patch RFC 19/29 - printk: Add basic infrastructure for non-BKL consoles. Thomas Gleixner. September...

Word Count : 701

PDF Search Engine © AllGlobal.net