#! stap -p2

# can't write to target variables in .return probes

probe kernel.function("fget_light").return
{
    $fd = 0
    printf("fd is %d\n", $fd)
}
probe kernel.function("do_sys_open").return { $filename }
