Revision 891a9894ee2e17646b29117635d2c7adfb58ce60 authored by Linus Torvalds on 11 June 2010, 16:55:50 UTC, committed by Linus Torvalds on 11 June 2010, 16:55:50 UTC
* 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: kbuild: Create output directory in Makefile.modbuiltin kbuild: Generate modules.builtin in make modules
profile2linkerlist.pl
#!/usr/bin/perl
#
# Takes a (sorted) output of readprofile and turns it into a list suitable for
# linker scripts
#
# usage:
# readprofile | sort -rn | perl profile2linkerlist.pl > functionlist
#
use strict;
while (<>) {
my $line = $_;
$_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;
print "*(.text.$1)\n"
unless ($line =~ /unknown/) || ($line =~ /total/);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...