mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] scripts: convert four small Perl utilities to Python
@ 2026-10-18 10:12 Breno Rodrigues Alves
  2026-10-18 10:12 ` [RFC PATCH 1/4] scripts: convert bootgraph.pl " Breno Rodrigues Alves
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Breno Rodrigues Alves @ 2026-10-18 10:12 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andy Whitcroft, Joe Perches, Dwaipayan Ray, Lukas Bulwahn,
	Breno Rodrigues Alves

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-18 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-18 10:12 [RFC PATCH 0/4] scripts: convert four small Perl utilities to Python Breno Rodrigues Alves
2026-10-18 10:12 ` [RFC PATCH 1/4] scripts: convert bootgraph.pl " Breno Rodrigues Alves
2026-10-18 10:12 ` [RFC PATCH 2/4] scripts: convert checkincludes.pl " Breno Rodrigues Alves
2026-10-18 10:12 ` [RFC PATCH 3/4] scripts: convert markup_oops.pl " Breno Rodrigues Alves
2026-10-18 10:12 ` [RFC PATCH 4/4] scripts: convert profile2linkerlist.pl " Breno Rodrigues Alves

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®