User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
start [2015-01-30 21:41]
joshtriplett
start [2017-01-21 22:38]
joshtriplett Add note about nm --size-sort.
Line 22: Line 22:
 ====== Submitting tinification changes ====== ====== Submitting tinification changes ======
  
-When submitting a change to make the kernel smaller, use '​scripts/​bloat-o-meter''​ to compare the size of the old and new vmlinux, overall and broken out by symbol. ​ Include the bloat-o-meter output in your commit message.+When submitting a change to make the kernel smaller, use ''​scripts/​bloat-o-meter''​ to compare the size of the old and new vmlinux, overall and broken out by symbol. ​ Include the bloat-o-meter output in your commit message.
  
 Most new configuration options added as part of this effort should depend on CONFIG_EMBEDDED or CONFIG_EXPERT. Most new configuration options added as part of this effort should depend on CONFIG_EMBEDDED or CONFIG_EXPERT.
Line 31: Line 31:
  
 You can find the latest tinification changes in Josh Triplett'​s tree at https://​git.kernel.org/​cgit/​linux/​kernel/​git/​josh/​linux.git/​ , in the tiny/* branches. ​ Note that tiny/next gets reset for each new merge window, and other tiny/* branches may be recreated or rebased. You can find the latest tinification changes in Josh Triplett'​s tree at https://​git.kernel.org/​cgit/​linux/​kernel/​git/​josh/​linux.git/​ , in the tiny/* branches. ​ Note that tiny/next gets reset for each new merge window, and other tiny/* branches may be recreated or rebased.
 +
 +====== Searching for tinification opportunities ======
 +On a built kernel, try running ''​nm --size-sort vmlinux''​. ​ This will show all the symbols in vmlinux, sorted by size.
  
 ====== Use Cases ====== ====== Use Cases ======
 See the [[Use Cases]] page. See the [[Use Cases]] page.
start.txt ยท Last modified: 2020-07-06 21:27 by joshtriplett