[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <518A2B4B.4040509@linux.vnet.ibm.com>
Date: Wed, 08 May 2013 18:39:07 +0800
From: Xiao Guangrong <xiaoguangrong@...ux.vnet.ibm.com>
To: Robert Richter <rric@...nel.org>
CC: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
linux-kernel@...r.kernel.org,
Robert Richter <robert.richter@...xeda.com>,
SH-Run Zhen RZ Wang <rzwang@...ibm.com>
Subject: Re: [PATCH] perf tools: Fix perf version generation
On 05/08/2013 05:43 PM, Robert Richter wrote:
> From: Robert Richter <robert.richter@...xeda.com>
>
> The tag of the perf version is wrongly determined, always the latest
> tag is taken regardless of the HEAD commit:
>
> $ perf --version
> perf version 3.9.rc8.gd7f5d3
> $ git describe d7f5d3
> v3.9-rc7-154-gd7f5d33
> $ head -n 4 Makefile
> VERSION = 3
> PATCHLEVEL = 9
> SUBLEVEL = 0
> EXTRAVERSION = -rc7
>
> In other cases no tag might be found.
>
> This patch fixes this.
>
> This new implementation handles also the case if there are no tags at
> all found in the git repo but there is a commit id.
I remember that Wang has posted a similar patch to fix this bug several
weeks ago:
http://lkml.org/lkml/2013/4/24/70
But have no response yet.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists