[Buildroot] [PATCH 2/2] perf: Don't build backtrace for ARC
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jul 21 20:55:20 UTC 2014
Dear Anton Kolesov,
Please fix your e-mail client to wrap lines at a reasonable length.
Thanks!
On Mon, 21 Jul 2014 09:39:05 +0000, Anton Kolesov wrote:
> Call to backtrace() function fails for ARC, because for some reason
> unwinder from libgcc returns early. Thus usage of backtrace() should
> be disabled in perf explicitly, because build system only checks for
> existence of this call and since it is there it tries to use. However
> at runtime the output will not be the one expected: it will contain
> only several functions from the top of stack, instead of the complete
> backtrace.
Thanks for this explanation. I've committed the patch after adding this
explanation right above the code that disables backtrace for perf on
ARC.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list