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

From: John Garry
Date: Fri Oct 15 2021 - 12:53:42 EST


Currently jevents builds without any complier warning flags enabled. So
use newly-defined HOSTCFLAGS, which comes from EXTRA_WARNINGS. I am not
100% confident that this is the best way, but sending out for review.

Baseline is be8ecc57f180 (HEAD, acme/perf/core) perf srcline: Use
long-running addr2line per DSO

Thanks!

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

tools/perf/Makefile.config | 1 +
tools/perf/Makefile.perf | 2 +-
tools/perf/pmu-events/Build | 2 +-
tools/perf/pmu-events/jevents.c | 10 ++++------
4 files changed, 7 insertions(+), 8 deletions(-)

--
2.26.2