Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2014 12:18:48 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        carlos antonio neira bustos <cneirabustos@gmail.com>
Cc:        "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org>
Subject:   Re: vminfo provider
Message-ID:  <CAMw1wOzK5XfBB5HYBPejFo7Ph%2BTjVN30oVpWdpHR7sqqMtLJvQ@mail.gmail.com>
In-Reply-To: <CACiB22iWowtt-rn22BPaPTHvc8ZKx9qyUhP2rM77FgkfHJdPdQ@mail.gmail.com>
References:  <CACiB22iWowtt-rn22BPaPTHvc8ZKx9qyUhP2rM77FgkfHJdPdQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 17, 2014 at 11:03 PM, carlos antonio neira bustos
<cneirabustos@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
> To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMw1wOzK5XfBB5HYBPejFo7Ph%2BTjVN30oVpWdpHR7sqqMtLJvQ>