Results 1 to 1 of 1
Thread: store printk message check sum
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2013
store printk message check sum
Background : I want to store the printk message checksum in the dict field of structured log entry.
What I tried : I have made a following changes in the printk.c file,
- Calculate the message checksum using crc32_le function in vprintk_emit function
- Append the checksum to the dict field
- update the dict_len
- Compile the source
After the successful compilation, I restarted the machine but it didn't start booting now.. It just got stuck..
So, I'm not sure what went wrong?
Any pointers or help is welcome...