Skip to content

Commit

Permalink
src: fix Systemtap node_gc_stop probe
Browse files Browse the repository at this point in the history
The process("node").mark("gc__stop") is actually
process("node").mark("gc__done"). Use the proper name so that a
developer can use SystemTap to determine the duration of garbage
collection.

PR-URL: #20152
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Matheus Marchini <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
wcohen authored and MylesBorins committed May 4, 2018
1 parent b239591 commit b5bc6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.stp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ probe node_gc_start = process("node").mark("gc__start")
flags);
}

probe node_gc_stop = process("node").mark("gc__stop")
probe node_gc_stop = process("node").mark("gc__done")
{
scavenge = 1 << 0;
compact = 1 << 1;
Expand Down

0 comments on commit b5bc6bd

Please sign in to comment.