Reimplementing printk()
Reimplementing printk()
Posted Feb 27, 2019 7:06 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)In reply to: Reimplementing printk() by smurf
Parent article: Reimplementing printk()
The application itself is designed to be restartable and I'm using the timestamp to find out unsynchronized logs - I'm just checking the last uploaded log timestamp and then proceed to sync everything that is at or after that timestamp.
Multiple entries with the same timestamp are treated just fine (de-duped), the problem is timestamps going backwards.
I guess I'll have to add more complicated logic to detect unsynchronized messages.
