Skip to content

Commit

Permalink
Update trace in schedule (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarsko authored Mar 20, 2024
1 parent 6dbcb4c commit 1e7037d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ impl ExecutionState {
// Note also that changing this trace! statement requires changing the test `basic::labels::test_tracing_with_label_fn`
// which relies on this trace reporting the `runnable` tasks.
self.top_level_span
.in_scope(|| trace!(?runnable, next_task=?self.next_task));
.in_scope(|| trace!(i=self.current_schedule.len(), next_task=?self.next_task, ?runnable));

Ok(())
}
Expand Down

0 comments on commit 1e7037d

Please sign in to comment.