diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-08 12:04:29 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-05-12 11:26:59 -0300 |
commit | 62aa0e177d278462145a29c30d3c8501ae57e200 (patch) | |
tree | 81f24cf8eb8750efd304b9d43322e020fe92a5a0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 22a9f41b555673e7499b97acf3ffb07bf0af31ad (diff) |
perf dwarf: Guard !x86_64 definitions under #ifdef else clause
To fix the build on Fedora Rawhide (gcc 6.0.0 20160311 (Red Hat 6.0.0-0.17):
CC /tmp/build/perf/arch/x86/util/dwarf-regs.o
arch/x86/util/dwarf-regs.c:66:36: error: 'x86_32_regoffset_table' defined but not used [-Werror=unused-const-variable=]
static const struct pt_regs_offset x86_32_regoffset_table[] = {
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions