summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/win32kprof.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/win32kprof.py b/bin/win32kprof.py
index 94b9948633..b4f9ce95dc 100755
--- 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