Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2011 14:30:50 -0800
From:      Julian Elischer <julian@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: Teach KTR_SCHED to handle changing thread names
Message-ID:  <4EF5011A.70709@freebsd.org>
In-Reply-To: <201112231520.00282.jhb@freebsd.org>
References:  <201112231520.00282.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/23/11 12:20 PM, John Baldwin wrote:
> When I use the new schedgraph on 8, I find that it commonly calls almost all
> threads "sh" or "tcsh" because it only uses the name from the initial fork and
> never notices when a thread changes its name via exec.  This makes traces
> harder to follow.  The patch below adds a hook to clear the cached thread name
> to force it to be regenerated on the next trace when td_name changes.  This
> makes the traces more usable for me at least.
>
>
I have no problems with this..  hard to decipher debugging as as bad 
as no debugging.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EF5011A.70709>