Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Linux Kernel Log Levels | LDD with Raspberry Pi #04
Play lesson

Linux Driver Development with Raspberry Pi - Linux Kernel Log Levels | LDD with Raspberry Pi #04

4.0 (3)
31 learners

What you'll learn

This course includes

  • 8.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this video, we explore kernel log levels in Linux kernel modules. We cover: * Using printk with KERN_ macros (KERN_ALERT, KERN_ERR, KERN_INFO, etc.) * pr_info, pr_err, pr_alert, and other convenient alias functions * Viewing and filtering kernel messages with dmesg -w and dmesg --level * Adding module parameters (int, bool, string, and arrays) using module_param() and module_param_array() * Setting parameter descriptions with MODULE_PARM_DESC * Printing parameter values during module initialization Reference page: https://docs.kernel.org/core-api/printk-basics.html All source code, Makefile, and shell commands used in this video are available on GitHub: https://github.com/madhawapolkotuwa/linux_driver_development_with_raspberrypi Buy me a Coffee : https://buymeacoffee.com/madhawapolb #linux #raspberrypi #kernel

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere