From: William Cohen <wcohen@redhat.com>
To: "Stone, Joshua I" <joshua.i.stone@intel.com>
Cc: SystemTAP <systemtap@sources.redhat.com>
Subject: Re: Tracking vm activity
Date: Tue, 24 Apr 2007 18:17:00 -0000 [thread overview]
Message-ID: <462E4998.5040908@redhat.com> (raw)
In-Reply-To: <462E3A75.6090007@intel.com>
Stone, Joshua I wrote:
> William Cohen wrote:
>> I am playing around with getting information about page faults and I
>> noticed that there is a probe alias for the entry for the pagefault
>> code. However, there is no matching probe point for the return. It is
>> useful to look at the return value to determine what kind of page
>> fault occurred (major or minor). The attached patch provides a similar
>> probe point for the return point. any comments on the patch?
>
> I see that you committed it, and added a variable for the return value
> (fault_type). Could you elaborate in the documentation what the
> possible types are (major, minor) and their values?
>
> Thanks,
>
> Josh
Hi Josh,
Is this suitable for comment for vm.pagefault.return? If suitable, I will go
ahead and check it in.
/* probe vm.pagefault.return
*
* Records type of fault that occurred.
*
* Context:
* The process which triggered the fault.
*
* Argumentss:
* fault_type - type of fault
* VM_FAULT_OOM 0 out of memory
* VM_FAULT_SIGBUS 1 if not oom, minor, or major fault, this val
* VM_FAULT_MINOR 2 no blocking operation to handle fault
* VM_FAULT_MAJOR 3 required blocking operation to handle fault
*/
-Will
next prev parent reply other threads:[~2007-04-24 18:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-23 21:05 William Cohen
2007-04-23 23:19 ` Frank Ch. Eigler
2007-04-24 17:13 ` Stone, Joshua I
2007-04-24 18:17 ` William Cohen [this message]
2007-04-24 20:36 ` Stone, Joshua I
2007-05-08 3:08 ` Jun Koi
2007-05-08 14:15 ` Frank Ch. Eigler
2007-05-10 10:38 ` Jun Koi
2007-05-10 11:32 ` Frank Ch. Eigler
2007-05-11 6:15 ` Jun Koi
2007-05-08 21:12 ` William Cohen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=462E4998.5040908@redhat.com \
--to=wcohen@redhat.com \
--cc=joshua.i.stone@intel.com \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).