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()
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.
      Posted Feb 27, 2019 8:45 UTC (Wed)
                               by jogness (subscriber, #49775)
                              [Link] (4 responses)
       
     
    
      Posted Feb 27, 2019 9:45 UTC (Wed)
                               by Cyberax (✭ supporter ✭, #52523)
                              [Link] (3 responses)
       
     
    
      Posted Feb 27, 2019 11:10 UTC (Wed)
                               by jogness (subscriber, #49775)
                              [Link] (2 responses)
       
     
    
      Posted Feb 28, 2019 20:34 UTC (Thu)
                               by Cyberax (✭ supporter ✭, #52523)
                              [Link] (1 responses)
       
     
    
      Posted Mar 6, 2019 10:46 UTC (Wed)
                               by jogness (subscriber, #49775)
                              [Link] 
       
cat /dev/kmsg 
The second field is the sequence number. You can read about the format here: 
https://www.kernel.org/doc/Documentation/ABI/testing/dev-... 
     
      Posted Feb 27, 2019 16:44 UTC (Wed)
                               by vadim (subscriber, #35271)
                              [Link] (4 responses)
       
     
    
      Posted Feb 27, 2019 21:00 UTC (Wed)
                               by claytonc (guest, #98599)
                              [Link] 
       
     
      Posted Feb 27, 2019 22:15 UTC (Wed)
                               by Cyberax (✭ supporter ✭, #52523)
                              [Link] (1 responses)
       
     
    
      Posted Mar 6, 2019 7:39 UTC (Wed)
                               by gravious (guest, #7662)
                              [Link] 
       
     
      Posted Mar 6, 2019 13:10 UTC (Wed)
                               by jdel (guest, #130810)
                              [Link] 
       
     
    Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
Reimplementing printk()
      
 
           