diff options
| author | Stephane Eranian <[email protected]> | 2015-09-01 09:30:14 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-09-01 16:04:41 +0000 |
| commit | af4aeadd8c04303c0aa2d112145c3627e2ebd026 (patch) | |
| tree | 569c570d011874e21ff08843e223763338ffdf38 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf build: Fix Intel PT instruction decoder dependency problem (diff) | |
| download | kernel-af4aeadd8c04303c0aa2d112145c3627e2ebd026.tar.gz kernel-af4aeadd8c04303c0aa2d112145c3627e2ebd026.zip | |
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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
