[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130830114903.GC1023@krava.brq.redhat.com>
Date: Fri, 30 Aug 2013 13:49:03 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Jean Pihet <jean.pihet@...aro.org>
Cc: David Ahern <dsahern@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: Fwd: perf: callchain feature on ARM - question about libunwind
API
On Thu, Aug 29, 2013 at 07:15:00PM +0200, Jean Pihet wrote:
SNIP
>
> The problem is that it is slow as hell (couple of minutes to report
> the callchain from a simple test app ;-|). I will look at the sampling
> rate and the caching next.
FYI there's elfutils alternative grewing now via libdw providing
API to do the 'remote unwind' as in libunwind. I'm not completely
sure, but I think it should support both .eh_frames and .debug_frames.
check:
git://git.fedorahosted.org/git/elfutils.git branch jankratochvil/unwindx86
the 'tests/backtrace-data.c' should be an example of what we want in perf
somewhere I should have perf changes to support this in
early version which no longer relevant.. but I recall it
was substantially faster due to some libdw inner caching
it's on my long term TODO list, so any help is welcome! ;-)
jirka
--
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