%{ /* * printkfs.fist: log all file system operations * * Copyright (c) 2006 Nikolai Joukov and Erez Zadok * Copyright (c) 2006 Stony Brook University */ %} debug off; license "GPL"; %% %op:all:precall { fistPrintf("IN OP_%op\n"); } %op:all:postcall { fistPrintf("OUT OP_%op (%ld)\n", (long)fistLastErr()); } %% /* no extra routines are needed */