Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1216732

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

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86
Date 2015-09-01 12:00 +0200
Message-ID <q3Qwa-2Zo-23@gated-at.bofh.it> (permalink)
References <q3QcO-2CC-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf record: fix link time error with sample_reg_masks on non x86 Stephane Eranian <eranian@google.com> - 2015-09-01 11:40 +0200
  Re: [PATCH] perf record: fix link time error with sample_reg_masks  on non x86 Jiri Olsa <jolsa@redhat.com> - 2015-09-01 12:00 +0200
  [tip:perf/urgent] perf tools:   Fix link time error with sample_reg_masks on non x86 tip-bot for Stephane Eranian <tipbot@zytor.com> - 2015-09-02 09:30 +0200
  Re: [PATCH] perf record: fix link time error with sample_reg_masks on  non x86 Adrian Hunter <adrian.hunter@intel.com> - 2015-09-02 11:50 +0200

csiph-web