https://github.com/torvalds/linux
Revision e25bd6ca8fd8fca2e0148bef257479eee3fff9b5 authored by Linus Torvalds on 30 December 2015, 01:46:29 UTC, committed by Linus Torvalds on 30 December 2015, 01:46:29 UTC
Pull vfs fix from Al Viro:
 "Fix for 3.15 breakage of fcntl64() in arm OABI compat.  -stable
  fodder"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
2 parent s 1e60508 + 76cc404
Raw File
Tip revision: e25bd6ca8fd8fca2e0148bef257479eee3fff9b5 authored by Linus Torvalds on 30 December 2015, 01:46:29 UTC
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Tip revision: e25bd6c
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/);
}
back to top