Skip to content

autoparam v0.2: generating parameter descriptions on compile

[email protected] lkml 1 version In review

Get series with b4
b4 am 20050707112551.331553000@homer

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5autoparam: includesinclude/linux/init.h include/linux/module.h include/linux/moduleparam.h+38 -90 replies
2/5autoparam: makefileMakefile+23 -10 replies
3/5autoparam: extract scriptscripts/kernelparams.pl+49 -00 replies
4/5autoparam: af_unix workaroundnet/unix/af_unix.c+2 -01 reply
5/5autoparam: ide workaroundsdrivers/ide/ide-disk.c drivers/ide/ide-floppy.c drivers/ide/ide-tape.c +1 more+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/5] autoparam v0.2: generating parameter descriptions on compile

Hi!

The purpose of autoparam is to generate boot parameter descriptions from sources. It does that by creating a new section called __param_strings. (The interesting bits here are from Magnus Damm.) It fills a gap about undocumented boot options from modules.

It consists of 5 patches:

autoparam_1-includes
Descriptions get saved in __param_strings. Also added a new __setup_desc().

autoparam_2-makefile
On every vmlinux change .kernel-parameters.o gets regenerated, and __param_strings removed from vmlinux. (It's still bigger than non-patched vmlinux, but all sections are of same length, alignment issues?)
Also, a new target "make kernelparams" which generates Documentation/kernel-parameters-gen.txt. It should probably not be in $(srctree) though.
There should be some more work done here, but I'm out of ideas ATM.

autoparam_3-extract_script
Simple perl script to extract descriptions.

autoparam_4-af_unix_workaround
autoparam_5-ide_workaround
Workarounds needed.

Comments, improvements?

Domen