Improvement to disktop.stp: how to find the full file name?

laurent@guerby.net laurent@guerby.net
Sun Sep 5 15:23:00 GMT 2010


Hi,

I'd like to add disltop.stp the capability to print which file are 
being read/written by each process. It's quite easy to get the filename 
by using the provided __file_pathname function (eg: "kern.log"), but 
I'm unable to figure out how to find the full pathname (eg: 
"/var/log/kern.log"). Any idea on how to do that?

Thanks in advance,

Laurent



More information about the Systemtap mailing list