autoparam v0.2: generating parameter descriptions on compile
Get series with b4
b4 am 20050707112551.331553000@homerVersions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | autoparam: includesinclude/ include/ include/ | +38 | 0 replies | |
| 2/5 | autoparam: makefileMakefile | +23 | 0 replies | |
| 3/5 | autoparam: extract scriptscripts/ | +49 | 0 replies | |
| 4/5 | autoparam: af_unix workaroundnet/ | +2 | 1 reply | |
| 5/5 | autoparam: ide workaroundsdrivers/ drivers/ drivers/ +1 more | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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