summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-09-25 23:19:40 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-26 20:49:28 +0200
commitb3e9c396d0acab27e6fd52edbb67f01ef0465782 (patch)
tree96382a5f6560071b429d136a2336cc188cfdfdc6 /tools/perf/python/stackcollapse.py
parent1331150d7d68f447fce2e209f316a1f83c5fe9f7 (diff)
downloadlinux-next-b3e9c396d0acab27e6fd52edbb67f01ef0465782.tar.gz
linux-next-b3e9c396d0acab27e6fd52edbb67f01ef0465782.zip
perf build: Make mypy build test opt-out (NO_MYPY=1)
Commit 168910d0f937 ("perf build: Add mypy build tests") added a compile-time mypy type check for Python files in tools/perf, but left it opt-in via MYPY=1. Now that mypy issues across tools/perf/python, tools/perf/pmu-events, and tools/perf/tests/shell/lib have been cleaned up, enable the mypy check by default when mypy is installed on the system, with an opt-out via NO_MYPY=1 (matching NO_SHELLCHECK=1 and other perf build feature flags). Also configure MYPYPATH in Makefile.perf so scripts can resolve perf.pyi type stubs and local modules, pass --ignore-missing-imports so optional third-party packages do not fail default builds, and remove *.mypy_log files during `make clean`. Assisted-by: Antigravity:gemini-3.1-pro Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions