Subject: re: lwp id in ktrace
To: matthew green <mrg@eterna.com.au>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 12/01/2003 16:34:50
On Dec 2,  8:28am, mrg@eterna.com.au (matthew green) wrote:
-- Subject: re: lwp id in ktrace

|    I think the best way to do this is to have ktrace request a newer version 
|    of the file format. That's the only way you can know what version of the 
|    file format userland can deal with. So it sounds like it's time to version 
|    the ktrace syscall. :-|
|    
|    Oh, I am assuming that kdump will be in sync with ktrace. Since userland 
|    gets updated all-at-once, that assumption seems fine. This way ktrace will 
|    never ask for a file format its kdump can't understand.
| 
| 
| it was my understanding that ktrace doesn't actually write the records
| to disk, but the kernel does directly.  one would assume that ktrace/kdump
| would be in sync, yet, but i didn't think that helped...

Yes, he means that the ktrace syscall can set a flag telling the kernel
`give me the new file format'.

christos