Subject: Re: lwp id in ktrace
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 11/26/2003 13:09:25
In article <1g50zpa.4x7zbvcvp2vsM%manu@netbsd.org>,
Emmanuel Dreyfus <manu@netbsd.org> 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). 

christos

>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.
>manu@netbsd.org