Re: [PATCH] perf record: Limit --intr-regs to platforms supporting PERF_REGS

From: Sukadev Bhattiprolu
Date: Tue Sep 29 2015 - 16:05:02 EST


Jiri Olsa [jolsa@xxxxxxxxxx] wrote:
| > I just tried it, but it fails. As Suka points out in his patch:
| > "Adding perf_regs.o to util/Build unconditionally, exposes a
| > redefinition error for 'perf_reg_value()' function (due to the static
| > inline version in util/perf_regs.h). So use #ifdef
| > HAVE_PERF_REGS_SUPPORT' around that function."
|
| could you (or Suka) please reply in here with the patch?
Jiri,

Do you mean this patch? I was planning on pinging Arnaldo again in a
couple of days about this patch, since the powerpc build is broken.

Sukadev

---