perf probe: Don't compile CFI related code if elfutils is old
authorMasami Hiramatsu <mhiramat@redhat.com>
Mon, 10 May 2010 17:12:07 +0000 (13:12 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 May 2010 01:13:51 +0000 (22:13 -0300)
Check elfutils version, and if it is old don't compile CFI analysis code. This
allows to compile perf with old elfutils.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Tested-by: Stephane Eranian <eranian@google.com>
Reported-by: Robert Richter <robert.richter@amd.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20100510171207.26029.97604.stgit@localhost6.localdomain6>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

No differences found