systemtap探测用户态程序性能

http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html

nginx性能跟踪中使用dtrace测试ngx_access和ngx_lua中的access_xxx的性能差异。

linux下需要使用systemtap。

只讲了内核态(syscall),没讲用户态如何跟踪
http://www.ibm.com/developerworks/cn/linux/l-cn-systemtap3/index.html
找到了用户态的:
http://blog.renren.com/share/225105132/13429162618
学习:echo -e "HEAD / HTTP/1.0\r\nHost: localhost\r\n\r\n" | nc 127.0.0.1 80
systemtap支持哪些探测点呢?
http://blog.csdn.net/linyt/article/details/5305332

猜你喜欢

转载自chuqq.iteye.com/blog/2153419
今日推荐