[RFC PATCH 0/4] scripts: convert four small Perl utilities to Python

From: Breno Rodrigues Alves

Date: Sun Oct 18 2026 - 06:12:47 EST


This series converts four small Perl utilities in scripts/ to
Python 3, following the precedent of kernel-doc.py, spdxcheck.py,
checkkconfigsymbols.py, and bpf_doc.py.

Each conversion is a faithful 1:1 port: same CLI, same output,
same behavior (including pre-existing bugs, documented in the
individual commit messages). All use only the Python standard
library.

The four scripts are:
- bootgraph.pl -> bootgraph.py (SVG boot timeline)
- checkincludes.pl -> checkincludes.py (duplicate #include finder)
- markup_oops.pl -> markup_oops.py (oops annotation)
- profile2linkerlist.pl -> profile2linkerlist.py (readprofile to linker list)

Tested by running the Perl and Python versions side by side on
the same input; output is byte-for-byte identical for the three
scripts that have verifiable output (bootgraph, checkincludes,
profile2linkerlist). markup_oops requires a live oops and
matching vmlinux to fully test.

Breno Rodrigues Alves (4):
scripts: convert bootgraph.pl to Python
scripts: convert checkincludes.pl to Python
scripts: convert markup_oops.pl to Python
scripts: convert profile2linkerlist.pl to Python

--
2.43.0