diff options
Diffstat (limited to 'tapset/memory.stp')
-rw-r--r-- | tapset/memory.stp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tapset/memory.stp b/tapset/memory.stp index 93e0bb1f..5173bf8c 100644 --- a/tapset/memory.stp +++ b/tapset/memory.stp @@ -18,9 +18,8 @@ * address - the address of the faulting memory access. * write_access - indicates whether this was a write */ -probe vm.pagefault = kernel.function( - %( kernel_v >= "2.6.13" %? "__handle_mm_fault" %: "handle_mm_fault" %) - ) +probe vm.pagefault = kernel.function("__handle_mm_fault@mm/memory.c") ?, + kernel.function("handle_mm_fault@mm/memory.c") ? { write_access = $write_access address = $address @@ -40,9 +39,8 @@ probe vm.pagefault = kernel.function( * 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" %) - ).return +probe vm.pagefault.return = kernel.function("__handle_mm_fault@mm/memory.c").return ?, + kernel.function("handle_mm_fault@mm/memory.c").return ? { fault_type = $return } |