]> sourceware.org Git - systemtap.git/commitdiff
linux memory tapset: do_page_mkwrite changes
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 11 Jan 2017 02:13:45 +0000 (21:13 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 11 Jan 2017 02:13:45 +0000 (21:13 -0500)
Adapt to linux commit 38b8cb7fbb, wherein the arguments for
do_page_mkwrite have been changed.

tapset/linux/memory.stp

index 3df4664b29412980a21fbb6f273428a4279fffd4..74e8cdfe327de72ba86f50ee8a047734b5e3aede 100644 (file)
@@ -145,7 +145,7 @@ function addr_to_node:long(addr:long) %{ /* pure */
  */
 probe vm.write_shared = kernel.function("do_wp_page") {
     name = "write_shared"
-    address = $address
+    address = @choose_defined($vmf->address,$address)
 }
 
 /**
This page took 0.029619 seconds and 5 git commands to generate.