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: https://github.com/nodejs/node/pull/20152 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
parent
b699264865
commit
94e0e2c787
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user