Skip to content

Commit b5bc6bd

Browse files
wcohenMylesBorins
authored andcommitted
src: fix Systemtap node_gc_stop probe
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]>
1 parent b239591 commit b5bc6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.stp

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ probe node_gc_start = process("node").mark("gc__start")
125125
flags);
126126
}
127127

128-
probe node_gc_stop = process("node").mark("gc__stop")
128+
probe node_gc_stop = process("node").mark("gc__done")
129129
{
130130
scavenge = 1 << 0;
131131
compact = 1 << 1;

0 commit comments

Comments
 (0)