projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df78ed
)
Fix address data emitted in the MonoProfilerGCRoots ETW event (#83284)
author
Filip Navara
<navara@emclient.com>
Mon, 13 Mar 2023 10:19:02 +0000
(11:19 +0100)
committer
GitHub
<noreply@github.com>
Mon, 13 Mar 2023 10:19:02 +0000
(11:19 +0100)
src/mono/mono/eventpipe/ep-rt-mono.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/eventpipe/ep-rt-mono.c
b/src/mono/mono/eventpipe/ep-rt-mono.c
index
7cedd7f
..
ebc5ef5
100644
(file)
--- a/
src/mono/mono/eventpipe/ep-rt-mono.c
+++ b/
src/mono/mono/eventpipe/ep-rt-mono.c
@@
-5523,7
+5523,7
@@
mono_profiler_fire_buffered_gc_event_roots (
objects++;
// GCRoots.Values[].AddressID.
- address_id = (uintptr_t)*
object
s;
+ address_id = (uintptr_t)*
addresse
s;
memcpy (buffer, &address_id, sizeof (address_id));
buffer += sizeof (address_id);
addresses++;