path: root/tools/perf/config/utilities.mak
diff options
authorRobert Richter <>2013-05-08 11:43:34 +0200
committerArnaldo Carvalho de Melo <>2013-07-08 18:09:52 -0300
commita4147f0f91386540316e468f3a3674a498dada5f (patch)
treeba9ee1366e013a0589c58c275e0fe54d3b19c8df /tools/perf/config/utilities.mak
parent582ec0829b3dd74d8c0f58403a3f9df8cbaa9c7d (diff)
perf tools: Fix perf version generation
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. Signed-off-by: Robert Richter <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/config/utilities.mak')
0 files changed, 0 insertions, 0 deletions