]> sourceware.org Git - systemtap.git/commit
Get d_path's root natively with @cast
authorJosh Stone <jistone@redhat.com>
Fri, 12 Mar 2010 19:39:52 +0000 (11:39 -0800)
committerJosh Stone <jistone@redhat.com>
Fri, 12 Mar 2010 19:39:52 +0000 (11:39 -0800)
commit8d2d198796f66c82b7147cd9167c1a43265b9ba2
tree6e50d43d8ae342b4ad443f0fdbd7529d243b6f34
parentcd4d1d39af22d4a06ebe48209feb0b408c331887
Get d_path's root natively with @cast

As mjw's aborted commit 5ab0b1b6 attempted, we can use a @cast to get
the filesystem root for the current task instead of embedded-C.  I've
left it using the kernel debuginfo instead of headers for now, because
all of the neighboring @casts are doing the same.

* tapset/dentry.stp (d_path): Use @cast to get the root.
  (__dentry_get_current_root): Remove, no longer needed.
* testsuite/buildok/dentry.stp: Test that dentry's functions all build.
tapset/dentry.stp
testsuite/buildok/dentry.stp [new file with mode: 0755]
This page took 0.026761 seconds and 5 git commands to generate.