[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1634807805-40093-1-git-send-email-john.garry@huawei.com>
Date: Thu, 21 Oct 2021 17:16:43 +0800
From: John Garry <john.garry@...wei.com>
To: <peterz@...radead.org>, <acme@...nel.org>, <mark.rutland@....com>,
<alexander.shishkin@...ux.intel.com>, <jolsa@...hat.com>,
<namhyung@...nel.org>, <mingo@...hat.com>
CC: <irogers@...gle.com>, <linux-perf-users@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kjain@...ux.ibm.com>,
<james.clark@....com>, John Garry <john.garry@...wei.com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists