summaryrefslogtreecommitdiff
path: root/scripts/package/Makefile
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-08-20 11:53:30 +0200
committerMichal Marek <mmarek@suse.com>2015-08-28 17:04:40 +0200
commit5bbb9f753afe213aebc8dba30c7e2dbb73616b79 (patch)
tree70fd497c25222ffd604de186925d02c8a8c12178 /scripts/package/Makefile
parentd523b255de60880304038006de5f93f2db612ad6 (diff)
scripts: add stackdelta script
This adds a simple perl script for reading two files as produced by the stackusage script and computing the changes in stack usage. For example: $ scripts/stackusage -o /tmp/old.su CC=gcc-4.7 -j8 fs/ext4/ $ scripts/stackusage -o /tmp/new.su CC=gcc-5.0 -j8 fs/ext4/ $ scripts/stackdelta /tmp/{old,new}.su | sort -k5,5g shows that gcc 5.0 generally produces less stack-hungry code than gcc 4.7. Obviously, the script can also be used for measuring the effect of commits, .config tweaks or whatnot. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts/package/Makefile')
0 files changed, 0 insertions, 0 deletions