Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-02 Thread Adrian Hunter
On 01/09/15 12:30, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros are renamed to >

Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-02 Thread Adrian Hunter
On 01/09/15 12:30, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros are renamed to >

Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-01 Thread Jiri Olsa
On Tue, Sep 01, 2015 at 11:30:14AM +0200, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros

Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-01 Thread Jiri Olsa
On Tue, Sep 01, 2015 at 11:30:14AM +0200, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros