tracing mmap'ed IO with dtrace
Andriy Gapon
avg at FreeBSD.org
Sat Jan 14 12:43:30 UTC 2017
On 13/01/2017 14:20, Alexey Egorov via freebsd-hackers wrote:
> Hello,
>
> I'm trying to use dtrace to trace filesystem IO, and it works great with ordinary read-write syscalls.
> However, it doesn't catch mmap'ed IO. I understand that it is not possible to catch all memory accesses to mmap'ed region, but is it possible to catch page faults that is caused by such accesses?
> dtrace manual says that there is vminfo::fspgin/fspgout probes; but it's not available on FreeBSD. Is it possible to use some of fbt probes here?
Try tracing calls to vm_fault.
--
Andriy Gapon
More information about the freebsd-hackers
mailing list