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:
William Cohen 2018-04-19 10:15:25 -04:00 committed by Matheus Marchini
parent b699264865
commit 94e0e2c787
No known key found for this signature in database
GPG Key ID: BE516BA4874DB4D9

View File

@ -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;