From: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
To: Jiri Olsa <jolsa@redhat.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
"mingo@redhat.com" <mingo@redhat.com>,
Stephane Eranian <eranian@google.com>,
Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] perf record: Limit --intr-regs to platforms supporting PERF_REGS
Date: Tue, 29 Sep 2015 22:01:36 +0530 [thread overview]
Message-ID: <20150929163136.GA24723@naverao1-tp.ibm.com> (raw)
In-Reply-To: <20150929104711.GE27383@krava.redhat.com>
On 2015/09/29 12:47PM, Jiri Olsa wrote:
> On Tue, Sep 29, 2015 at 01:30:10PM +0530, Naveen N. Rao wrote:
>
> SNIP
>
> > > > Suka has also posted a fix for this with a different approach [1]. Can
> > > > you please ack/pull one of these versions? Building perf is broken on
> > > > v4.3-rc due to this.
> > >
> > > I did not get any answer for additional comments I made to the patch
> > > (couldnt get marc.info working, sending the patch again)
> >
> > Hi Jiri,
> > I concur with the changes you proposed to my patch here (getting rid of
> > the weak variant):
> > http://article.gmane.org/gmane.linux.kernel/2046108
> >
> > I am aware of the other approach you posted (and the one attached
> > below). When I said "please ack/pull one of these versions", I meant one
> > of: your version, Suka's and mine.
>
> I was hoping somebody could test it on ppc ;-)
>
> I think the last version (in my last email) that keeps the weak
> variable is correct, let's wait for Arnaldo to sort this out
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."
- Naveen
next prev parent reply other threads:[~2015-09-29 17:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1443096718-11926-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com>
[not found] ` <20150924125703.GA11857@krava.redhat.com>
[not found] ` <CABPqkBSaxTm6-7x7VpwRtw6aS2qmHup_VsWK0VYFJVwZSMG10w@mail.gmail.com>
[not found] ` <20150924164554.GA11493@naverao1-tp.in.ibm.com>
2015-09-29 5:36 ` [PATCH] perf record: Limit --intr-regs to platforms supporting PERF_REGS Naveen N. Rao
2015-09-29 6:53 ` Jiri Olsa
2015-09-29 8:00 ` Naveen N. Rao
2015-09-29 10:47 ` Jiri Olsa
2015-09-29 16:31 ` Naveen N. Rao [this message]
2015-09-29 17:15 ` Jiri Olsa
2015-09-29 18:10 ` Sukadev Bhattiprolu
2015-09-29 20:36 ` Jiri Olsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150929163136.GA24723@naverao1-tp.ibm.com \
--to=naveen.n.rao@linux.vnet.ibm.com \
--cc=acme@kernel.org \
--cc=eranian@google.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mingo@redhat.com \
--cc=sukadev@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).