[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120224193958.GE27882@infradead.org>
Date: Fri, 24 Feb 2012 17:39:58 -0200
From: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To: David Ahern <dsahern@...il.com>
Cc: linux-kernel@...r.kernel.org, mingo@...e.hu, peterz@...radead.org,
fweisbec@...il.com, paulus@...ba.org, tglx@...utronix.de
Subject: Re: [PATCH] perf tools: ensure comm properly terminated If threads
in a multi-threaded process have names shorter than the main thread the comm
for the named threads is not properly terminated.
Em Fri, Feb 24, 2012 at 12:31:38PM -0700, David Ahern escreveu:
> e.g., for the process 'namedthreads' where each thread is named noploop%d
> where %d is the thread number:
>
> Before:
> perf script -f comm,tid,ip,sym,dso
> noploop:4ads 21616 400a49 noploop (/tmp/namedthreads)
> The 'ads' in the thread comm bleeds over from the process name.
>
> After:
> perf script -f comm,tid,ip,sym,dso
> noploop:4 21616 400a49 noploop (/tmp/namedthreads)
Thanks, applied to perf/urgent.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists