我是靠谱客的博主 谦让歌曲,这篇文章主要介绍systemtap 用户态调试3,现在分享给大家,希望可以做个参考。

[root@localhost ~]# cat test.c

#include <stdio.h>

int main( void) {

int a=0; a=fun(10,20); printf("%dn",a);

}

int fun(int  a,int b)

{   return a+b; }

 

stap -e 'probe process("a.out").function("fun") { log($$parms) }'

a=0xa b=0x14

stap -e 'probe process("a.out").statement("fun") { log($$vars) }'
a=0x34 b=0x6861cbc0

最后

以上就是谦让歌曲最近收集整理的关于systemtap 用户态调试3的全部内容,更多相关systemtap内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(55)

评论列表共有 0 条评论

立即
投稿
返回
顶部