From b5bc6bd94bfeee46216602a7557cffa8813e6358 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Thu, 19 Apr 2018 10:15:25 -0400 Subject: [PATCH] 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 Reviewed-By: Matheus Marchini Reviewed-By: Richard Lau --- src/node.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.stp b/src/node.stp index 3369968c205146..ebc40d574fc2be 100644 --- a/src/node.stp +++ b/src/node.stp @@ -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;