vminfo provider

Mark Johnston markj at freebsd.org
Mon Apr 21 16:18:49 UTC 2014


On Thu, Apr 17, 2014 at 11:03 PM, carlos antonio neira bustos
<cneirabustos at gmail.com> wrote:
> Hi All,
>
> If the vminfo provider is not available, could I  get the same
> functionality from the vm_* probes?
>
> I mean, for  example this one liner  in Solaris:
>
> dtrace -n pgin'{@[execname] = count()}'
>
>
> Is the same as doing this in FreeBSD ?
>
>
> dtrace -n vm_page_insert:entry'{ @[execname] = count();}'
>

No, vm_page_insert doesn't correspond to a pagein. vm_page_insert is
just used to add a page to a vm object, which is a higher-level
operation. The vm object will determine what happens when an access of
one of its pages causes a fault. It could result in a pagein from swap
or a backing file, or it could just result in the allocation of a
zero-filled page.

>
>
>
> Bests
> _______________________________________________
> freebsd-dtrace at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
> To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe at freebsd.org"


More information about the freebsd-dtrace mailing list