Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wks committed Nov 14, 2023
1 parent 2e467f1 commit c939868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/scheduler/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ impl<VM: VMBinding> GCWorker<VM> {
#[allow(unused_variables)]
let typename = work.get_type_name();
probe!(mmtk, work, typename.as_ptr(), typename.len());
//probe!(mmtk, work, typename.as_ptr(), typename.len(), *(typename.as_ptr()) as usize);
work.do_work_with_stat(self, mmtk);
}
}
Expand Down
4 changes: 2 additions & 2 deletions tools/tracing/timeline/capture.bt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ usdt:$MMTK:mmtk:work_poll {

usdt:$MMTK:mmtk:work {
@thread_in_work[tid] = 1;
if (!(@decoded[arg0]) && @gc_count >= 2) {
@type_name[arg0] = str(arg0, arg1);
if (!@decoded[arg0]) {
@type_name[arg0] = str(uptr(arg0), arg1);
@decoded[arg0] = 1;
}
@thread_work_id[tid] = arg0;
Expand Down

0 comments on commit c939868

Please sign in to comment.