Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199551
b: refs/heads/master
c: 9c49fd3
h: refs/heads/master
i:
  199549: 8edd335
  199547: 6f7ae1c
  199543: 698540d
  199535: 80a5eb1
  199519: a79e3a6
  199487: 6557b95
  199423: d047568
v: v3
  • Loading branch information
Stephen Hemminger authored and Michal Marek committed Mar 7, 2010
1 parent 741f6ab commit b1317a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86d08e569f63a71a2d259507e335beea32b4d2aa
refs/heads/master: 9c49fd307a6cb2d3255f9441bce5b7cb08dff79e
8 changes: 3 additions & 5 deletions trunk/scripts/profile2linkerlist.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
# 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]+/;

if ( ($line =~ /unknown/) || ($line =~ /total/)) {

} else {
print "*(.text.$1)\n";
}
print "*(.text.$1)\n"
unless ($line =~ /unknown/) || ($line =~ /total/);
}

0 comments on commit b1317a4

Please sign in to comment.