[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F566872.9010408@fb.com>
Date: Tue, 6 Mar 2012 11:41:38 -0800
From: Arun Sharma <asharma@...com>
To: Ingo Molnar <mingo@...e.hu>
CC: Arnaldo Carvalho de Melo <acme@...hat.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Mike Galbraith <efault@....de>,
Paul Mackerras <paulus@...ba.org>,
Peter Zijlstra <peterz@...radead.org>,
Stephane Eranian <eranian@...gle.com>,
Tom Zanussi <tzanussi@...il.com>,
<linux-kernel@...r.kernel.org>, <linux-perf-users@...r.kernel.org>
Subject: Re: [RFC] Sort inclusive
On 3/5/12 10:57 PM, Ingo Molnar wrote:
> Btw., assuming that you are profiling user-space applications
> via call-chains, how do you deal with the lack of dwarf decoding
> done by perf, in particular on 64-bit x86 systems where most
> distros don't compile call-chains into libraries and
> application? In what practical situations does that limitation
> hinder you and what do you do about it - rebuild your apps with
> frame pointers included?
Yes - we're rebuilding everything with frame pointers so we could get
callchains. While this works for C/C++, I'm not convinced that we have a
good solution for JITs where there may be multiple stacks (eg: one each
for interpreted and JIT code), and the kernel may not be able to unwind
without dwarf decoding. For now, we're going with the /tmp/perf-$pid.txt
based solution for JITs.
I'll post a new patch with the code refactored into smaller functions.
-Arun
--
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