]> www.infradead.org Git - users/dwmw2/linux.git/commit
docs: sphinx/kernel_abi: reduce buffer usage for ABI messages
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 10 Feb 2025 10:18:05 +0000 (11:18 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 10 Feb 2025 18:19:57 +0000 (11:19 -0700)
commitaea5e52dce74f679b91c66caad91d587d5504f6c
tree26ab5725dedcb13394f365cce097aab754e0e84e
parentee34f8300c8940758dc69f80107d9f5873c08f17
docs: sphinx/kernel_abi: reduce buffer usage for ABI messages

Instead of producing a big message with all ABI contents and then
parse as a whole, simplify the code by handling each ABI symbol
in separate. As an additional benefit, there's no need to place
file/line nubers inlined at the data and use a regex to convert
them.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/15be22955e3c6df49d7256c8fd24f62b397ad0ff.1739182025.git.mchehab+huawei@kernel.org
Documentation/sphinx/kernel_abi.py
scripts/get_abi.py
scripts/lib/abi/abi_parser.py