Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74988
b: refs/heads/master
c: 8998979
h: refs/heads/master
v: v3
  • Loading branch information
Nathan Lynch authored and Linus Torvalds committed Dec 18, 2007
1 parent a80fd34 commit a59cd77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: bb8e8bcce7eceacb52eb0a3ebb64202ad6bcc438
refs/heads/master: 8998979cc1f90da5a48b2e8a13833217c63f7c4a
3 changes: 2 additions & 1 deletion trunk/scripts/bloat-o-meter
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def getsizes(file):
for l in os.popen("nm --size-sort " + file).readlines():
size, type, name = l[:-1].split()
if type in "tTdDbB":
if "." in name: name = "static." + name.split(".")[0]
# function names begin with '.' on 64-bit powerpc
if "." in name[1:]: name = "static." + name.split(".")[0]
sym[name] = sym.get(name, 0) + int(size, 16)
return sym

Expand Down

0 comments on commit a59cd77

Please sign in to comment.