]> git.karo-electronics.de Git - linux-beck.git/commit
perf probe: Check older elfutils and set NO_DWARF
authorMasami Hiramatsu <mhiramat@redhat.com>
Tue, 11 May 2010 04:59:53 +0000 (00:59 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 May 2010 15:43:11 +0000 (12:43 -0300)
commit6b3c4ef50441e85dc9b2c9b67e95e8ad1185c15e
tree4e79cc3b7cee63a5de40d2f82c756413dafb235c
parentb09e0190acf88c7fe3b05e3c331e1b2ef5310896
perf probe: Check older elfutils and set NO_DWARF

Check whether elfutils is older than 0.138 (from which version checking
routine has been introduced). And if so, set NO_DWARF because it is hard
to check the API dependency without version checking.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Reported-by: Robert Richter <robert.richter@amd.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20100511045953.9913.19485.stgit@localhost6.localdomain6>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile