RFC scripts: convert four small Perl utilities to Python
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | scripts: convert bootgraph.pl to Pythonscripts/ | +194 | 0 replies | |
| 2/4 | scripts: convert checkincludes.pl to Pythonscripts/ | +101 | 0 replies | |
| 3/4 | scripts: convert markup_oops.pl to Pythonscripts/ | +324 | 0 replies | |
| 4/4 | scripts: convert profile2linkerlist.pl to Pythonscripts/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/4] scripts: convert four small Perl utilities to Python
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
Signature · 1 line
2.43.0