This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Get filename from fd


Hi,

Is it possible to get from $fd to a filename in some way, in probes like
syscall.fcntl  etc?

I know I can probe syscall.open() and then keep an array of FD / filenames,
but this doesn't help me when I need to trace a process that has already
been started some time ago, and already has opened files.

Ta,

Rob.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]