]> sourceware.org Git - systemtap.git/commitdiff
Another fullpath_struct_path() @cast search fix (PR19120).
authorDavid Smith <dsmith@redhat.com>
Tue, 20 Oct 2015 18:36:37 +0000 (13:36 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 20 Oct 2015 18:36:37 +0000 (13:36 -0500)
* tapset/linux/dentry.stp (fullpath_struct_path): Fix the @cast() module
  path search so we look for "<linux/path.h>" in the kernel, not in
  userspace.

tapset/linux/dentry.stp

index 4f77f06f812c0f5c697efde812e967781a362467..d6ce6ffeefe9622eaeb67bfb28a5bc56e67d29fd 100644 (file)
@@ -327,8 +327,8 @@ function fullpath_struct_nameidata(nd)
 function fullpath_struct_path:string(path:long)
 {
   return task_dentry_path(task_current(),
-                          @cast(path,"path","kernel:nfs:<linux/path.h>")->dentry,
-                          @cast(path,"path","kernel:nfs:<linux/path.h>")->mnt)
+                          @cast(path,"path","kernel:nfs:kernel<linux/path.h>")->dentry,
+                          @cast(path,"path","kernel:nfs:kernel<linux/path.h>")->mnt)
 }
 
 /**
This page took 0.028345 seconds and 5 git commands to generate.