[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091020060043.GB8550@elte.hu>
Date: Tue, 20 Oct 2009 08:00:43 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <peterz@...radead.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Mike Galbraith <efault@....de>,
Frédéric Weisbecker <fweisbec@...il.com>
Cc: Tim Blechmann <tim@...ngt.org>, linux-kernel@...r.kernel.org
Subject: Re: pref record question
* Peter Zijlstra <peterz@...radead.org> wrote:
> On Mon, 2009-10-19 at 19:04 +0200, Tim Blechmann wrote:
>
> > i am trying to do some profiling with perf (2.6.31.4). while
> > thread-level profiling works fine, i haven't been able to record
> > profiling data of a whole process (i.e. main thread + child
> > threads). from my understanding, this should be enabled by running
> > 'perf record -i' on the main thread. this does only collect the data
> > from the main thread, though.
> >
> > is this an issue with perf or with my understanding of perf?
>
> -i will only inherit the counters on new fork()/clone() calls, so an
> existing process/task tree will not automagically get the counters.
Looks like something very much worth fixing.
Ingo
--
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