perf tools: Build programs to copy 32-bit compatibility
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 23 Oct 2014 21:16:03 +0000 (18:16 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Oct 2014 12:32:48 +0000 (10:32 -0200)
commite477f3f01a89a8fd44031e7f2ba6ffcab037336c
tree36d6011cee4ae37dd5e0340cca5c1c0a125be42e
parent42634bc7a02ead59cf2d50e60d8b8f825de8a3b0
perf tools: Build programs to copy 32-bit compatibility

perf tools copy VDSO out of memory.  However, on 64-bit machines there
may be 32-bit compatibility VDOs also.  To copy those requires separate
32-bit executables.

This patch adds to the build additional programs perf-read-vdso32 and
perf-read-vdsox32 for 32-bit and x32 respectively.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
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: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1414061124-26830-15-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/config/Makefile
tools/perf/config/Makefile.arch
tools/perf/config/feature-checks/Makefile
tools/perf/config/feature-checks/test-compile.c [new file with mode: 0644]
tools/perf/perf-read-vdso.c [new file with mode: 0644]
tools/perf/util/find-vdso-map.c [new file with mode: 0644]
tools/perf/util/vdso.c