[PATCH] backends: add ARM compatible mode to AARCH64

2014-03-28 Thread Jean Pihet
Add the initial register setup for AARCH64 running ARM code (so called the compat mode). This makes 'eu-stack -p' happy on ARM binaries. Based on the latest mjw/aarch64-unwind branch. Signed-off-by: Jean Pihet --- backends/arm_initreg.c | 34 -- 1 fi

Re: Fwd: [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64

2014-03-21 Thread Jean Pihet
Hi Mark, On 19 March 2014 15:09, Mark Wielaard wrote: > Hi Jean, > > On Wed, 2014-03-19 at 11:58 +0100, Jean Pihet wrote: >> On 19 March 2014 11:46, Mark Wielaard wrote: >> Do you have an idea what/where to check for libdw compat support? I >> just quickly browsed thr

Re: Fwd: [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64

2014-03-19 Thread Jean Pihet
Hi Mark, On 19 March 2014 11:46, Mark Wielaard wrote: > Hi Jean, > > On Wed, 2014-03-19 at 10:51 +0100, Jean Pihet wrote: >> Here is fwded the posting of the patches for libdw integration in perf >> on AARCH64. >> The mjw/aarch64-unwind branch of elfultis is used and

Fwd: [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64

2014-03-19 Thread Jean Pihet
-- From: Jean Pihet Date: 19 March 2014 10:42 Subject: [PATCH 0/3] perf tools: Add libdw DWARF post unwind support for ARM64 To: "linux-ker...@vger.kernel.org" , "linaro-ker...@lists.linaro.org" , "linux-arm-ker...@lists.infradead.org" , Arnaldo , Ingo Molnar , J

Re: elfutils/libdw ARM compilation (native and cross compile)

2014-02-26 Thread Jean Pihet
Mark, Jan, On 26 February 2014 10:13, Mark Wielaard wrote: > On Wed, 2014-02-26 at 09:18 +0100, Jean Pihet wrote: >> While at it, I have a concern about the compat mode: profiling an >> ARMv7 binary on an ARMv8 system. >> Is this supported by libdw? > > My ARM termino

Re: elfutils/libdw ARM compilation (native and cross compile)

2014-02-26 Thread Jean Pihet
/libunwind%283%29.html#section_4 , cf. 'Cross-platform and Multi-platform Unwinding'. Regards, Jean On 26 February 2014 09:15, Jean Pihet wrote: > Hi Mark, > > On 26 February 2014 00:26, Mark Wielaard wrote: >> Hi Jean, >> >> Seems you already got your answer to the b

Re: elfutils/libdw ARM compilation (native and cross compile)

2014-02-26 Thread Jean Pihet
Hi Mark, On 26 February 2014 00:26, Mark Wielaard wrote: > Hi Jean, > > Seems you already got your answer to the build question solved. Yes! There is quite a huge improvement in performance: >500% for dwarf unwinding ;-p > > On Tue, 2014-02-25 at 18:17 +0100, Jean Pihet wrote:

Re: elfutils/libdw ARM compilation (native and cross compile)

2014-02-25 Thread Jean Pihet
Hi Jan, Frank, On 25 February 2014 18:26, Frank Ch. Eigler wrote: > Hi - > >> I am trying to compile libdw for ARM, both natively and on x86_64. I >> am getting build errors, it seems that the build is always targeted to >> x86_64. [...] > >> *** missing i386_dis.h; configure with --enable-mainta

elfutils/libdw ARM compilation (native and cross compile)

2014-02-25 Thread Jean Pihet
Hi Jan, Mark, I have a simple question which I cannot find the solution for. The goal is to add the libdw support for perf on ARM (and later AARCH64). I am trying to compile libdw for ARM, both natively and on x86_64. I am getting build errors, it seems that the build is always targeted to x86_64