标签: dtrace
我想跟踪写入套接字的字节。
我知道我可以从fileinfo_t获得fds[arg0]。
fileinfo_t
fds[arg0]
有没有办法在syscall::write:中获取套接字的类型?
syscall::write:
如何安全地将此信息从syscall::write:entry传输到syscall::write:return以计算写入的字节数?
syscall::write:entry
syscall::write:return