Messages in this thread | | | Date | Tue, 1 Sep 2015 11:56:26 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86 |
| |
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 are renamed to > SMPL_REG/SMPL_REG_END to avoid clashes with other header files. > > Signed-off-by: Stephane Eranian <eranian@google.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
thanks, jirka
| |