有一点要注意:数组的第一个元素(而不是最后一个元素)是这个调用跟踪的栈顶。
One thing to note: the first element of the arrray is the top of the call trace, not the last.
添加stack_depth:3参数,限制调用malloc时收集的栈跟踪。
You add the stack_depth: 3 parameter to limit the stack trace collected when a malloc is called.
另外还要注意跟踪程序使用了一个栈来保存基准,所以您可以(小心地)嵌套调用。
Also note that the tracer USES a stack to maintain baselines, so it is possible to nest calls (carefully).
另外还要注意跟踪程序使用了一个栈来保存基准,所以您可以(小心地)嵌套调用。
Also note that the tracer USES a stack to maintain baselines, so it is possible to nest calls (carefully).
应用推荐