From: Ian Rogers <irogers@google.com>
To: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Namhyung Kim <namhyung@kernel.org>, Jiri Olsa <jolsa@kernel.org>,
Ian Rogers <irogers@google.com>,
Adrian Hunter <adrian.hunter@intel.com>,
James Clark <james.clark@linaro.org>, Leo Yan <leo.yan@arm.com>,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] perf build: Linter parallelism and clean/install dependency fixes
Date: Wed, 30 Sep 2026 19:34:19 -0700 [thread overview]
Message-ID: <20261001023423.1225713-1-irogers@google.com> (raw)
This series includes a small Python test cleanup alongside build system
improvements for linter parallelism and clean/install target
dependencies:
1. Update tools/perf/tests/shell/lib/attr.py to use argparse instead of
the deprecated optparse module, avoiding a pylint deprecated-module
warning.
2. Building on Leo Yan's recent change to run pylint checks on
standalone scripts and tests in parallel with linking perf, move the
remaining shellcheck, mypy, and pylint rules (in tools/perf/Build,
tools/perf/tests/Build, tools/perf/util/Build, and
tools/perf/pmu-events/Build) into top-level phony targets in
Makefile.perf so they no longer serialize archive creation, jevents
generation, or final linking, nor wait on $(LANG_BINDINGS).
3. Clear GTK4 via 'override GTK4 :=' in Makefile.config when the gtk4
feature check fails instead of setting the unused 'NO_GTK4 := 1'
variable left over from commit 4751bddd3f98 ("perf tools: Make GTK2
support opt-in").
4. Fix missing dependencies and target ordering for clean and install
targets across Makefile, Makefile.perf, and
Documentation/build-docdep.perl.
Ian Rogers (4):
perf test: Update attr.py to use argparse
perf build: Run shellcheck, mypy, and remaining pylint checks in
parallel
perf build: Clear GTK4 instead of setting unused NO_GTK4 when gtk4 is
missing
perf build: Fix clean and install target dependencies
tools/perf/Build | 8 ++-
tools/perf/Documentation/build-docdep.perl | 2 +-
tools/perf/Makefile | 9 ++-
tools/perf/Makefile.config | 2 +-
tools/perf/Makefile.perf | 75 ++++++++++++++++++----
tools/perf/pmu-events/Build | 66 ++++++++++---------
tools/perf/tests/Build | 8 ++-
tools/perf/tests/shell/lib/attr.py | 37 ++++-------
tools/perf/util/Build | 8 ++-
9 files changed, 138 insertions(+), 77 deletions(-)
--
2.56.0.rc1.315.gc6ed9934b7-goog
next reply other threads:[~2026-10-01 2:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 2:34 Ian Rogers [this message]
2026-10-01 2:34 ` [PATCH 1/4] perf test: Update attr.py to use argparse Ian Rogers
2026-10-01 2:34 ` [PATCH 2/4] perf build: Run shellcheck, mypy, and remaining pylint checks in parallel Ian Rogers
2026-10-01 2:34 ` [PATCH 3/4] perf build: Clear GTK4 instead of setting unused NO_GTK4 when gtk4 is missing Ian Rogers
2026-10-01 2:34 ` [PATCH 4/4] perf build: Fix clean and install target dependencies Ian Rogers
2026-10-01 5:41 ` [PATCH v2 0/4] perf build: Linter parallelism and clean/install dependency fixes Ian Rogers
2026-10-01 5:41 ` [PATCH v2 1/4] perf test: Update attr.py to use argparse Ian Rogers
2026-10-01 5:41 ` [PATCH v2 2/4] perf build: Run shellcheck, mypy, and remaining pylint checks in parallel Ian Rogers
2026-10-01 5:41 ` [PATCH v2 3/4] perf build: Clear GTK4 instead of setting unused NO_GTK4 when gtk4 is missing Ian Rogers
2026-10-01 5:41 ` [PATCH v2 4/4] perf build: Fix clean and install target dependencies Ian Rogers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261001023423.1225713-1-irogers@google.com \
--to=irogers@google.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=leo.yan@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®