projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[profiler] Encode the address in TYPE_SAMPLE_UBIN as a pointer.
[mono.git]
/
mono
/
profiler
/
log.c
diff --git
a/mono/profiler/log.c
b/mono/profiler/log.c
index ce507bdcb1b820848a374a8df32e8c921bf4b935..b8170a9b67e407cf20f6b9369ecde6e602d92308 100644
(file)
--- a/
mono/profiler/log.c
+++ b/
mono/profiler/log.c
@@
-2468,7
+2468,7
@@
dump_ubin (MonoProfiler *prof, const char *filename, uintptr_t load_addr, uint64
);
emit_event (logbuffer, TYPE_SAMPLE | TYPE_SAMPLE_UBIN);
- emit_
svalue
(logbuffer, load_addr);
+ emit_
ptr
(logbuffer, load_addr);
emit_uvalue (logbuffer, offset);
emit_uvalue (logbuffer, size);
memcpy (logbuffer->cursor, filename, len);