Skip to content

Commit 5fc37ee

Browse files
author
Jianghua Yang
committed
支持 record heap alloction
1 parent ab21955 commit 5fc37ee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

take_heaptimeline

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
NODE_KILL=`which node-kill`
4+
5+
if [ -f "$HOME/.nodepath" ]; then
6+
NODE_KILL=`cat $HOME/.nodepath`/node-kill;
7+
fi
8+
9+
$NODE_KILL --start_timeline time=30s $1

0 commit comments

Comments
 (0)