This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Improvement to disktop.stp: how to find the full file name?
- From: <laurent at guerby dot net>
- To: <systemtap at sourceware dot org>
- Cc: <laurent at guerby dot net>
- Date: Sun, 05 Sep 2010 17:23:35 +0200
- Subject: Improvement to disktop.stp: how to find the full file name?
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