SystemTap 用法

SystemTap需要内核符号表:

http://ddebs.ubuntu.com/pool/main/l/linux/

 基本语法:

next对应C中的return,中途返回;

今晚遗留了两个问题:

1)kernel.{function("vfs_write"), function("vfs_read")} 编译失败;

2) probe kernel.function("vfs_write") 失败;

posted @ 2017-11-02 23:35  honpey  阅读(223)  评论(0编辑  收藏  举报