From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: David Ahern <dsahern@gmail.com>
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu,
peterz@infradead.org, fweisbec@gmail.com, paulus@samba.org,
tglx@linutronix.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.
Date: Fri, 24 Feb 2012 17:39:58 -0200 [thread overview]
Message-ID: <20120224193958.GE27882@infradead.org> (raw)
In-Reply-To: <1330111898-68071-1-git-send-email-dsahern@gmail.com>
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
next prev parent reply other threads:[~2012-02-24 19:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-24 19:31 David Ahern
2012-02-24 19:39 ` Arnaldo Carvalho de Melo [this message]
2012-03-02 9:51 ` [tip:perf/urgent] perf tools: Ensure comm string is " tip-bot for David Ahern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120224193958.GE27882@infradead.org \
--to=acme@ghostprotocols.net \
--cc=dsahern@gmail.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®