首页 > 其他 > 详细

stap中的entry函数

时间:2018-05-09 00:30:33      阅读:201      评论:0      收藏:0      [点我收藏+]

只有在ret probe函数中,在这个函数中才会使用@entry函数去提取变量

是因为ret probe 有什么特殊的吗?在中间这个变量会变化吗?

A new operator, @entry, is available for automatically saving an expression at entry time for use in a .return probe.

但是

A SystemTap script can also accept simple command-line arguments using a
$
or
@
immediately followed
by the number of the argument on the command line. Use
$
if you are expecting the user to enter an
integer as a command-line argument, and
@
if you are expecting a string.

stap中的entry函数

原文:https://www.cnblogs.com/honpey/p/9011805.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!