[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170619195222.GD13640@kernel.org>
Date: Mon, 19 Jun 2017 16:52:22 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Kim Phillips <kim.phillips@....com>
Cc: Mathieu Poirier <mathieu.poirier@...aro.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds caused
by misplaced __printf
Em Mon, Jun 19, 2017 at 02:26:33PM -0500, Kim Phillips escreveu:
> On Mon, 19 Jun 2017 15:42:09 -0300
> Arnaldo Carvalho de Melo <acme@...nel.org> wrote:
>
> > Em Mon, Jun 19, 2017 at 11:51:20AM -0600, Mathieu Poirier escreveu:
> > > On 16 June 2017 at 13:59, Kim Phillips <kim.phillips@....com> wrote:
> > > > -static int cs_device__print_file(const char *name, const char *fmt, ...) __printf(2, 3)
> > > > +static int __printf(2, 3) cs_device__print_file(const char *name, const char *fmt, ...)
> > > > {
> > > > va_list args;
> > > > FILE *file;
> > >
> > > I just tested Kim's solution on my side.
> > >
> > > Acked-by: Mathieu Poirier <mathieu.poirier@...aro.org>
> >
> > Thanks for checking, since I haven't pushed this to Ingo I just squashed
> > Kim's fix into the buggy cset.
> >
> > Now I'm trying to build it with lots of cross build containers to see if
> > there are any other problems before push this up to Ingo.
>
> Thanks, I'm still trying to learn the submission process...
>
> Slightly off-topic, but when you push kernel.org/.../acme/linux.git, do
> you push --tags?
I usually just do:
git push acme.korg perf/urgent
or
git push acme.korg perf/urgent
[acme@...et linux]$ git remote -v | grep korg
acme.korg gitolite@...olite.kernel.org:/pub/scm/linux/kernel/git/acme/linux.git (fetch)
acme.korg gitolite@...olite.kernel.org:/pub/scm/linux/kernel/git/acme/linux.git (push)
[acme@...et linux]$
Or some other branch, acme/master isn't updated. I guess I should do
like tip/master, and always have acme/master with acme/perf/core merged
with acme/perf/urgent, but for now, just consider acme/perf/urgent and
acme/perf/core.
> If I do a fresh clone, checkout perf/core or urgent, build perf,
> PERF-VERSION-GEN first uses git to find the version number, then the
> Makefile. But in acme/linux.git, the latest version tag looks to match
> the master branch version: 3.2: so I get a 3.2-reporting version on
> what should be 4.12-rc4 (perf/core's current Makefile):
>
> $ tools/perf/perf --version
> perf version 3.2.gd15e591
>
> Is this an acme/linux.git tree maintenance issue, or should
> PERF-VERSION-GEN be modified to compare versions gotten from git vs.
> the Makefile, and just use the higher one?
>
> Thanks,
>
> Kim
Powered by blists - more mailing lists