From: Frederic Weisbecker <fweisbec@gmail.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Mike Galbraith <efault@gmx.de>, Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] perf tools: Improve thread comm resolution in perf sched
Date: Thu, 8 Oct 2009 19:18:16 +0200 [thread overview]
Message-ID: <20091008171814.GC5073@nowhere> (raw)
In-Reply-To: <1255019582.26976.314.camel@twins>
On Thu, Oct 08, 2009 at 06:33:02PM +0200, Peter Zijlstra wrote:
> On Thu, 2009-10-08 at 16:37 +0200, Frederic Weisbecker wrote:
> > When we get sched traces that involve a task that was already
> > created before opening the event, we won't have the comm event
> > for it.
>
> pid_synthesize_comm_event() should have taken care of that..
>
> > So if we can't find the comm event for a given thread, we look at the
> > traces that may contain these informations.
>
> Sure, but it would be good to find out why the synthesize bits didn't
> work as expected.
Oh you're right, I didn't notice it.
And it's weird, I've just done some tests, and I always
have the same pids that are found inside the events but
but not in /proc:
7989 -> npviewer.bin
5467 -> xchat
5124 -> firefox
7929 -> npviewer.bin
That's weird. I'm going to look further on the proc filesystem.
next prev parent reply other threads:[~2009-10-08 17:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-08 14:37 [PATCH] perf tools: Improve thread comm resolution in perf sched Frederic Weisbecker
2009-10-08 15:12 ` [tip:perf/core] " tip-bot for Frederic Weisbecker
2009-10-08 16:33 ` [PATCH] " Peter Zijlstra
2009-10-08 17:18 ` Frederic Weisbecker [this message]
2009-10-08 18:34 ` Frederic Weisbecker
2009-10-08 18:48 ` [PATCH] perf tools: Fix " Frederic Weisbecker
2009-10-08 19:04 ` Frederic Weisbecker
2009-10-08 19:13 ` [tip:perf/core] " tip-bot for Frederic Weisbecker
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=20091008171814.GC5073@nowhere \
--to=fweisbec@gmail.com \
--cc=acme@redhat.com \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
/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