Printing all opened files

Jean-Eric Cuendet jec@rptec.ch
Wed Aug 16 12:22:00 GMT 2006


> But it is recommended to reuse the systemtap tapset to avoid writing
> your code from the scratch, e.g.
> probe syscall.open
> {
>     printf("%s\n", filename)
> }

Thanks, works well!
I'd like to print also the gettimeofday (or equivalent)
How do I do? Can I call standard methods? Like:

probe syscall.open
{
     printf("STAP OPEN (%d) : %s\n", gettimeofday(), filename)
}



More information about the Systemtap mailing list