summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/win32kprof.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/win32kprof.py b/bin/win32kprof.py
index 94b99486338..b4f9ce95dca 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