Skip to content

Support PRINTK_CALLER kernel compilation option #10

@happy-dude

Description

@happy-dude

Hey team,

Thanks for such a wonderful module.

I was wondering if it's would be possible to support the PRINTK_CALLER[1] kernel option, which adds an additional field in the kmsg record header noting the tread or cpuid that emitted the message?

I may be able to contribute a patch/PR myself once I hear some thoughts regarding how is should be represented in the struct. I was thinking another struct to hold the numeric ID and a string to hold denote if it's a threadid or cpuid?

Thanks a ton; looking forward to hearing back!

Stan

[1] https://cateee.net/lkddb/web-lkddb/PRINTK_CALLER.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions