Re: [PATCH 2/3] perf tests: Add dwarf unwind test on ARM64

2014-05-07 Thread Jiri Olsa
On Tue, May 06, 2014 at 05:55:32PM +0200, Jean Pihet wrote: SNIP > +#include "tests/tests.h" > + > +#define STACK_SIZE 8192 > + > +static int sample_ustack(struct perf_sample *sample, > + struct thread *thread, u64 *regs) > +{ > + struct stack_dump *stack = &sample->user_

[PATCH 2/3] perf tests: Add dwarf unwind test on ARM64

2014-05-06 Thread Jean Pihet
Adding dwarf unwind test, that setups live machine data over the perf test thread and does the remote unwind. Need to use -fno-optimize-sibling-calls for test compilation, otherwise 'krava_*' function calls are optimized into jumps and ommited from the stack unwind. Cc: Jiri Olsa Cc: Corey Ashfo

[PATCH 2/3] perf tests: Add dwarf unwind test on ARM64

2014-03-19 Thread Jean Pihet
Adding dwarf unwind test, that setups live machine data over the perf test thread and does the remote unwind. Need to use -fno-optimize-sibling-calls for test compilation, otherwise 'krava_*' function calls are optimized into jumps and ommited from the stack unwind. Cc: Jiri Olsa Cc: Corey Ashfo