Re: git: fc90f3a28145 - main - ktrace: Increase precision of timestamps.
- In reply to: Konstantin Belousov : "Re: git: fc90f3a28145 - main - ktrace: Increase precision of timestamps."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Jul 2022 18:55:41 UTC
On Sat, Jul 16, 2022 at 04:52:28PM +0300, Konstantin Belousov wrote: K> > Replace struct timeval in header with struct timespec. K> > To differentiate header formats, add a new KTR_VERSIONED flag K> > set in the header type field similar to the existing KTRDROP flag. K> > K> > To make it easier to extend ktrace headers in the future, K> > extend the existing header with a version field (version 0 is K> > reserved for older records without KTR_VERSIONED) as well as K> > new fields holding the thread ID and CPU ID. K> It would be nice to have a way to force kernel to write v0 format. K> K> For instance, one of my usual work flow case is to generate ktrace.out K> on HEAD and kdump it on stable/13. IMHO, the right way to handle that is to merge new kdump to stable/13, rather than keeping compat layers in head kernel. -- Gleb Smirnoff