Lesson plan

Printk

is a printf-like function of the Linux kernel interface for formatting and writing kernel log entries. Since the C standard library (which contains the ubiquitous printf-like functions) is not available in kernel mode, provides for general-purpose output in the kernel. Due to limitations of the kernel design, the function is often used to aid debugging kernel mode software. printk can be called from anywhere in the kernel except during early stages of the boot process, before the system console is initialized. The alternative function early_printk is implemented on some architectures and is used identically to printk but during the early stages of the boot process.

Back to article

Article summary

is a printf-like function of the Linux kernel interface for formatting and writing kernel log entries. Since the C standard library (which contains the ubiquitous printf-like functions) is not available in kernel mode, provides for general-purpose output in the kernel. Due to limitations of the kernel design, the function is often used to aid debugging kernel mode software. printk can be called from anywhere in the kernel except during early stages of the boot process, before the system console is initialized. The alternative function early_printk is implemented on some architectures and is used identically to printk but during the early stages of the boot process.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.