Skip to content

perf jevents: Enable build warnings

John Garry linux-perf-users lkml 2 versions – Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 12 repliesApplied
  2. v12 patches 8 repliesApplied

Changes in v2 from the cover letter

- Add Werror, Wall, and Wextra (James Clark suggestion)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2perf jevents: Fix some would-be warningstools/perf/pmu-events/jevents.c+4 -60 replies
2/2perf jevents: Enable warnings through HOSTCFLAGStools/perf/Makefile.config tools/perf/Makefile.perf tools/perf/pmu-events/Build+7 -29 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] perf jevents: Enable build warnings

Currently jevents builds without any complier warning flags enabled. So use newly-defined HOSTCFLAGS, which comes from EXTRA_WARNINGS.

Changes for v2:
- Add Werror, Wall, and Wextra (James Clark suggestion)

Baseline is acme perf/core + mainline commit b94729919db2 ("perf jevents:
Free the sys_event_tables list after processing entries"):

680453e63302 perf jevents: Free the sys_event_tables list after processing entries be8ecc57f180 (origin/perf/core) perf srcline: Use long-running addr2line per DSO 2b775152bbe8 perf tests vmlinux-kallsyms: Ignore hidden symbols

John Garry (2):
perf jevents: Fix some would-be warnings perf jevents: Enable warnings through HOSTCFLAGS

 tools/perf/Makefile.config      |  5 +++++
 tools/perf/Makefile.perf        |  2 +-
 tools/perf/pmu-events/Build     |  2 +-
 tools/perf/pmu-events/jevents.c | 10 ++++------
 4 files changed, 11 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1