Subject: Re: lwp id in ktrace
To: None <>
From: Darren Reed <>
List: tech-kern
Date: 11/27/2003 09:03:04
> 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.

There's a branch in the current repository where this is all done called

It needs to be brought up to date with -current but includes SA upcall
ktrace support too.

It almost ended up in -current except that I changed too much code that
didn't need changing.