]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Version String fix, for fallback if not from git
authorThavidu Ranatunga <tharan@au1.ibm.com>
Mon, 5 Jul 2010 08:00:15 +0000 (18:00 +1000)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Jul 2010 08:42:58 +0000 (10:42 +0200)
commitf2cee1b75008b61df0696f38b3eb5db5a087bed1
treec92e7227a0a6242e0ed67f2471dde66356ba4d5a
parentd05cdfdef2003914f494ff1d07c6382cf7e0ce90
perf: Version String fix, for fallback if not from git

This gets rid of the default version fallback for Perf and
changes it so that it returns the version of the kernel from
it's Makefile (if sources were not from git, ie. if it was
downloaded from a tarball)

Signed-off-by: Thavidu Ranatunga <tharan@au1.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1278316815-6099-2-git-send-email-tharan@au1.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/PERF-VERSION-GEN