Skip to content

Build fixes for gcc 6

Ben Hutchings lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perf tools: Fix wrong indentation and build failure with gcc 6tools/perf/util/pmu.c+1 -10 replies
2/4perf top: Fix behaviour of Shift-Tab in annotated view with nothing focussedtools/perf/ui/browsers/annotate.c+2 -20 replies
3/4perf tools: Fix unused variables: x86_{32,64}_regoffset_tabletools/perf/arch/x86/util/dwarf-regs.c+17 -218 replies
4/4perf tests: Delete mis-indented dead code that causes build failure with gcc 6tools/perf/arch/x86/tests/intel-cqm.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH perf 0/4] Build fixes for gcc 6

gcc 6 warns about various things in tools/perf and with -Werror these turn into build failures. One of them is a real though not very serious bug.

Ben.

Ben Hutchings (4):
perf tools: Fix wrong indentation and build failure with gcc 6 perf top: Fix behaviour of Shift-Tab in annotated view with nothing
focussed
perf tools: Fix unused variables: x86_{32,64}_regoffset_table perf tests: Delete mis-indented dead code that causes build failure
with gcc 6

 tools/perf/arch/x86/tests/intel-cqm.c |  5 +++--
 tools/perf/arch/x86/util/dwarf-regs.c | 38 ++++++++++++++++-------------------
 tools/perf/ui/browsers/annotate.c     |  4 ++--
 tools/perf/util/pmu.c                 |  2 +-
 4 files changed, 23 insertions(+), 26 deletions(-)