[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230728064917.767761-1-irogers@google.com>
Date: Thu, 27 Jul 2023 23:49:11 -0700
From: Ian Rogers <irogers@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>,
Kan Liang <kan.liang@...ux.intel.com>,
Eduard Zingerman <eddyz87@...il.com>,
Andrii Nakryiko <andrii@...nel.org>,
Gaosheng Cui <cuigaosheng1@...wei.com>,
Rob Herring <robh@...nel.org>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org, llvm@...ts.linux.dev
Subject: [PATCH v1 0/6] Simplify C/C++ compiler flags
Some compiler flags have been brought forward in the perf build but
without any explicit need, for example -ggdb3. Some warnings were
disabled but the underlying warning could be addressed. Try to reduce
the number of compiler options used in the perf build, to enable
Wextra for C++, and to disable fewer compiler warnings.
Ian Rogers (6):
perf bpf-loader: Remove unneeded diagnostic pragma
perf build: Don't always set -funwind-tables and -ggdb3
perf build: Add Wextra for C++ compilation
perf build: Disable fewer flex warnings
perf build: Disable fewer bison warnings
perf build: Remove -Wno-redundant-decls in 2 cases
tools/perf/Makefile.config | 9 ++++-----
tools/perf/util/Build | 18 ++++++------------
tools/perf/util/bpf-filter.y | 2 ++
tools/perf/util/bpf-loader.c | 3 ---
tools/perf/util/c++/Build | 3 +++
tools/perf/util/expr.y | 4 +++-
tools/perf/util/parse-events.c | 1 -
tools/perf/util/parse-events.y | 1 +
tools/perf/util/pmu.y | 3 +++
9 files changed, 22 insertions(+), 22 deletions(-)
--
2.41.0.487.g6d72f3e995-goog
Powered by blists - more mailing lists