diff options
author | William Cohen <wcohen@redhat.com> | 2018-04-19 10:15:25 -0400 |
---|---|---|
committer | Matheus Marchini <matheus@sthima.com> | 2018-04-25 12:22:47 -0300 |
commit | 94e0e2c787deade5702026b6d6eea8dcfee3b6a3 (patch) | |
tree | be7d7b221014a1ed23152576184c5c7002359008 /src/node.stp | |
parent | b69926486569529a5fe140df4b769d1ce4f6bca0 (diff) | |
download | android-node-v8-94e0e2c787deade5702026b6d6eea8dcfee3b6a3.tar.gz android-node-v8-94e0e2c787deade5702026b6d6eea8dcfee3b6a3.tar.bz2 android-node-v8-94e0e2c787deade5702026b6d6eea8dcfee3b6a3.zip |
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>
Diffstat (limited to 'src/node.stp')
-rw-r--r-- | src/node.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.stp b/src/node.stp index 3369968c20..ebc40d574f 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; |