688b2c2f17
If git is installed we'll have a 'perf --version' output of this form: $ make -j8 -C tools/perf/ O=/home/acme/git/build/perf install $ perf --version perf version 3.7.rc3.g3afad6 Now on a machine without git installed: $ mv /home/acme/bin/git /home/acme/bin/git.OFF $ make -j8 -C tools/perf/ O=/home/acme/git/build/perf install $ perf --version perf version 3.7.0-rc2 That is, no error message due to git not being installed will appear on the screen and instead the version string in the top level Makefile will be used. Requested-by: Ingo Molnar <mingo@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-am6yp6phvxyjmyndxogpunjv@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
include | ||
scripting-engines | ||
abspath.c | ||
alias.c | ||
annotate.c | ||
annotate.h | ||
bitmap.c | ||
build-id.c | ||
build-id.h | ||
cache.h | ||
callchain.c | ||
callchain.h | ||
cgroup.c | ||
cgroup.h | ||
color.c | ||
color.h | ||
config.c | ||
cpumap.c | ||
cpumap.h | ||
ctype.c | ||
debug.c | ||
debug.h | ||
debugfs.c | ||
debugfs.h | ||
dso-test-data.c | ||
dso.c | ||
dso.h | ||
dwarf-aux.c | ||
dwarf-aux.h | ||
environment.c | ||
event.c | ||
event.h | ||
evlist.c | ||
evlist.h | ||
evsel.c | ||
evsel.h | ||
exec_cmd.c | ||
exec_cmd.h | ||
generate-cmdlist.sh | ||
header.c | ||
header.h | ||
help.c | ||
help.h | ||
hist.c | ||
hist.h | ||
hweight.c | ||
intlist.c | ||
intlist.h | ||
levenshtein.c | ||
levenshtein.h | ||
machine.c | ||
machine.h | ||
map.c | ||
map.h | ||
pager.c | ||
parse-events-test.c | ||
parse-events.c | ||
parse-events.h | ||
parse-events.l | ||
parse-events.y | ||
parse-options.c | ||
parse-options.h | ||
path.c | ||
perf_regs.h | ||
PERF-VERSION-GEN | ||
pmu.c | ||
pmu.h | ||
pmu.l | ||
pmu.y | ||
probe-event.c | ||
probe-event.h | ||
probe-finder.c | ||
probe-finder.h | ||
pstack.c | ||
pstack.h | ||
python-ext-sources | ||
python.c | ||
quote.c | ||
quote.h | ||
rblist.c | ||
rblist.h | ||
run-command.c | ||
run-command.h | ||
session.c | ||
session.h | ||
setup.py | ||
sigchain.c | ||
sigchain.h | ||
sort.c | ||
sort.h | ||
stat.c | ||
stat.h | ||
strbuf.c | ||
strbuf.h | ||
strfilter.c | ||
strfilter.h | ||
string.c | ||
strlist.c | ||
strlist.h | ||
svghelper.c | ||
svghelper.h | ||
symbol-elf.c | ||
symbol-minimal.c | ||
symbol.c | ||
symbol.h | ||
sysfs.c | ||
sysfs.h | ||
target.c | ||
target.h | ||
thread_map.c | ||
thread_map.h | ||
thread.c | ||
thread.h | ||
tool.h | ||
top.c | ||
top.h | ||
trace-event-info.c | ||
trace-event-parse.c | ||
trace-event-read.c | ||
trace-event-scripting.c | ||
trace-event.h | ||
types.h | ||
unwind.c | ||
unwind.h | ||
usage.c | ||
util.c | ||
util.h | ||
values.c | ||
values.h | ||
vdso.c | ||
vdso.h | ||
wrapper.c | ||
xyarray.c | ||
xyarray.h |