linux/tools/perf/arch
Stephane Eranian af4aeadd8c perf tools: Fix link time error with sample_reg_masks on non x86
This patch makes perf compile on non x86 platforms by defining a weak
symbol for sample_reg_masks[] in util/perf_regs.c.

The patch also moves the REG() and REG_END() macros into the
util/per_regs.h header file. The macros are renamed to
SMPL_REG/SMPL_REG_END to avoid clashes with other header files.

Signed-off-by: Stephane Eranian <eranian@google.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1441099814-26783-1-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-09-01 13:04:41 -03:00
..
alpha perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
arm perf build: Add arch arm objects building 2015-02-12 13:13:01 -03:00
arm64 perf tools: Add ARM64 perf_regs_load to support libunwind and enable testing 2015-05-29 12:43:40 -03:00
mips perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
parisc perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
powerpc perf probe ppc64le: Fixup function entry if using kallsyms lookup 2015-05-04 12:43:47 -03:00
s390 perf build: Add arch s390 objects building 2015-02-12 13:20:59 -03:00
sh perf dwarf: Fix potential array out of bounds access 2015-09-01 11:33:48 -03:00
sparc perf dwarf: Fix potential array out of bounds access 2015-09-01 11:33:48 -03:00
x86 perf tools: Fix link time error with sample_reg_masks on non x86 2015-09-01 13:04:41 -03:00
xtensa perf tools xtensa: Add DWARF register names 2015-08-06 16:45:05 -03:00
Build perf build: Add arch x86 objects building 2015-02-12 13:12:01 -03:00
common.c perf tools: Rename perf_session_env to perf_env 2015-08-28 14:53:55 -03:00
common.h perf tools: Rename perf_session_env to perf_env 2015-08-28 14:53:55 -03:00