火焰图ngx-active-reqs -p 19075命令运行失败 是什么回事

46 views
Skip to first unread message

cheng ye

unread,
May 30, 2017, 5:28:57 AM5/30/17
to openresty
今天学习使用火焰图,发现使用这个ngx-active-reqs命令报错,不知道是什么缘故,希望大家帮助下,其他命令是没有问题的。


tokers

unread,
May 30, 2017, 6:03:08 AM5/30/17
to openresty
手动调整这个宏的值,比如加上 -D MAXACTION=100000

cheng ye

unread,
May 30, 2017, 9:25:40 AM5/30/17
to openresty
刚刚设置了下是可以的,不过想请教下这个参数是干嘛用的,命令行帮助没有说明呀。

在 2017年5月30日星期二 UTC+8下午6:03:08,tokers写道:

tokers

unread,
May 30, 2017, 9:33:51 PM5/30/17
to openresty
可以参考下这个 https://sourceware.org/systemtap/langref/SystemTap_overview.html

MAXACTION - The maximum number of statements to execute during any single probe hit. The default is 1000.


Reply all
Reply to author
Forward
0 new messages