probe kernel.function("reset_buffer_flags").call { printf("%d -> %s (PID: %d)\n", gettimeofday_ms(), probefunc(), pid()); } probe kernel.function("reset_buffer_flags").return { printf("%d <- %s (PID: %d)\n", gettimeofday_ms(), probefunc(), pid()); } probe kernel.function("n_tty_read").call { printf("%d -> %s (PID: %d)\n", gettimeofday_ms(), probefunc(), pid()); } probe kernel.function("n_tty_read").return { printf("%d <- %s (PID: %d, retval: %d)\n", gettimeofday_ms(), probefunc(), pid(), $return) }