summaryrefslogtreecommitdiffstats
path: root/ext3
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-07-14 11:16:34 -0400
committerSteve Dickson <steved@redhat.com>2009-07-14 11:16:34 -0400
commit228e373b9e92910293b332b15f8cfd0876cd5bda (patch)
tree916701d6065f1ea49de76241b12081126d8ee6fc /ext3
parent5b0e9ed86dfa2754ffe770fb81ec362fa4da0de6 (diff)
downloadsystemtap-228e373b9e92910293b332b15f8cfd0876cd5bda.tar.gz
systemtap-228e373b9e92910293b332b15f8cfd0876cd5bda.tar.xz
systemtap-228e373b9e92910293b332b15f8cfd0876cd5bda.zip
Added in some ext3, acl, and inode scripts
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'ext3')
-rw-r--r--ext3/ext3_acl.stp25
1 files changed, 25 insertions, 0 deletions
diff --git a/ext3/ext3_acl.stp b/ext3/ext3_acl.stp
new file mode 100644
index 0000000..904e146
--- /dev/null
+++ b/ext3/ext3_acl.stp
@@ -0,0 +1,25 @@
+/*
+ * To run:
+ * stap -g -I../tapset ext3_acl.stp
+ */
+probe module("ext3").function("ext3_get_acl")
+{
+ printf(" ext3_get_acl: inode %p\n", $inode);
+}
+probe module("ext3").function("ext3_get_acl").return
+{
+ if ($return)
+ printf(" ext3_get_acl: %s\n", acl_dump($return));
+}
+probe module("ext3").function("ext3_check_acl")
+{
+ printf("ext3_check_acl: %s mask 0x%x\n",
+ inode_uid($inode), $mask);
+}
+probe module("ext3").function("ext3_check_acl").return
+{
+ printf("ext3_check_acl: %d\n", $return);
+}
+probe begin { log("starting ext3_acl probe") }
+probe end { log("ending ext3_acl probe") }
+