/* * 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") }