Subject: Re: lwp id in ktrace
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 11/26/2003 13:09:25
In article <>,
Emmanuel Dreyfus <> wrote:

I've been thinking about this, and I cannot see how we can do it easily
in a backwards compatible way. Unfortunately there is no header in the
ktrace.out files so that we can deduce the version (we could add a version
header now though). 


>What are our plans wrt to lwp id display in ktrace? As I understand,
>some records are quite straightforward, some are a pain.
>Getting lwp id display for system calls and returns, and on I/O is easy.
>Getting it in NAMI records means changing struct nameidata, which
>propagate almost everywhere in the kernel. 
>Is someone working on this? If not, maybe we could change easy records,
>and keep NAMI for later? It would make ktrace of threaded process much
>more readable.
>Emmanuel Dreyfus
>Il y a 10 sortes de personnes dans le monde: ceux qui comprennent 
>le binaire et ceux qui ne le comprennent pas.