perf tools: Do not attempt to run perf-read-vdso32 if it wasn't built
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 23 Oct 2014 10:45:24 +0000 (13:45 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Oct 2014 12:32:48 +0000 (10:32 -0200)
commit46b1fa85ff5a2e03423770b3931b97266e8ac6cf
tree1141f5e2227417cf3bff0e489eac16f0bd5e306f
parentf6832e1720f5cc283703cfe9ccbfb46a3fb6f548
perf tools: Do not attempt to run perf-read-vdso32 if it wasn't built

popen() causes an error message to print if perf-read-vdso32 does not
run.  Avoid that by not trying to run it if it was not built.  Ditto
perf-read-vdsox32.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
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/r/1414061124-26830-17-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile
tools/perf/util/vdso.c