emit_log_message(9)
π NAME π
okay so this is emit_log_message(9) from the Kernel API Manual, and it's literally the main-character page for emit_log_message β it emits a log message to the kernel log in a format suited to the current thread context. no cap, that's the whole vibe. π«Ά
β¨ SYNOPSIS β¨
here's the signature, character for character, bestie:
void emit_log_message (int priority , const char *module , const char *prefix , const struct va_format *vaf1 , const struct va_format *vaf2 );
πΈ ARGUMENTS πΈ
priorityβ the priority at which to log the message. yes, the whole importance level, periodt.moduleβ The name of the module doing the logging.prefixβ The prefix of the log message.vaf1β The first message format descriptor.vaf2β The second message format descriptor.
π¦ DESCRIPTION π¦
Context info formats, served fresh and honestly a little chaotic:
interrupt: uds[NMI]: blah kvdo thread: kvdo12:foobarQ:
blah thread w/device id: kvdo12:myprog: blah other thread: uds:
myprog: blah
Fields: module name, interrupt level, process name, device ID. iykyk π
π SEE ALSO π
Kernel file ./drivers/md/dm-vdo/logger.c, plus emit_log_message_to_kernel(9) β go click, bestie. β¨
mwah π this little page comes from ./drivers/md/dm-vdo, dated October 2026 β emit_log_message(9) out. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms