projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f140138
)
Parse the section:offset instead of the rva+base when reading mapfiles.
author
José Fonseca
<jrfonseca@tungstengraphics.com>
Thu, 12 Jun 2008 13:19:17 +0000
(22:19 +0900)
committer
José Fonseca
<jrfonseca@tungstengraphics.com>
Thu, 19 Jun 2008 01:47:49 +0000
(10:47 +0900)
bin/win32kprof.py
patch
|
blob
|
history
diff --git
a/bin/win32kprof.py
b/bin/win32kprof.py
index 94b99486338afccc153c23131be9fcfe33c55ed1..b4f9ce95dcab627a6d7cc900e5a10a7d60803545 100755
(executable)
--- a/
bin/win32kprof.py
+++ b/
bin/win32kprof.py
@@
-139,7
+139,8
@@
class Profile:
continue
if type != 'f':
continue
- addr = int(addr, 16)
+ section, offset = section_offset.split(':')
+ addr = int(offset, 16)
name = demangle(name)
if last_addr == addr:
# TODO: handle collapsed functions