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 Matheus Marchini committed Apr 25, 2018
1 parent b699264 commit 94e0e2c
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 94e0e2c

Please sign in to comment.