summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
Diffstat (limited to 'tapset')
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/memory.stp4
2 files changed, 8 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index fcb2e384..8d210d99 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-24 Will Cohen <wcohen@redhat.com>
+
+ * memory.stp: Update vm.pagefault.return comment.
+
2007-04-24 Mike Mason <mmlnx@us.ibm.com>
* socket.stp: adapted to changes in 2.6.19 socket routines
diff --git a/tapset/memory.stp b/tapset/memory.stp
index 61c77dff..93e0bb1f 100644
--- a/tapset/memory.stp
+++ b/tapset/memory.stp
@@ -35,6 +35,10 @@ probe vm.pagefault = kernel.function(
*
* Arguments:
* 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
*/
probe vm.pagefault.return = kernel.function(
%( kernel_v >= "2.6.13" %? "__handle_mm_fault" %: "handle_mm_fault" %)