Search notes:

kernel/printk/printk_ringbuffer.h

struct printk_info

struct printk_info stores the information about messages logged with printk
seq u64 sequence number, provided by the ringbuffer code.
ts_nsec u64 timestamp in nanoseconds
text_len u16 length of text message
facility u8 syslog facility
flags u8:5 internal record flags
level u8:3 syslog level
caller_id u32 thread id or processor id
dev_info struct dev_printk_info

Index