aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-04-08 15:04:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-04-08 15:04:29 +0000
commitf9383452a26fc47f62c4ddcfa20ccebb7a09c2d8 (patch)
treeffe146edf1ed91483318c7e8f1884b5710a5a52d /tools/perf/builtin-script.c
parentperf tools: Use readdir() instead of deprecated readdir_r() (diff)
downloadkernel-f9383452a26fc47f62c4ddcfa20ccebb7a09c2d8.tar.gz
kernel-f9383452a26fc47f62c4ddcfa20ccebb7a09c2d8.zip
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/builtin-script.c')
0 files changed, 0 insertions, 0 deletions