Skip to content

Commit ea34745

Browse files
committed
Use active thread id
1 parent 8742d9a commit ea34745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
584584
Some(profiler.start_recording_interval_event_detached(
585585
name,
586586
EventId::from_label(name),
587-
0
587+
ecx.get_active_thread().to_u32()
588588
))
589589
} else {
590590
None

0 commit comments

Comments
 (0)