Hi,
On Tue, Jun 14, 2016 at 07:02:20AM +0200, Jens Offenbach wrote:
> Hallo,
> I must analyze a library (*.tar.gz) that includes a lot of files and most of
> them are not required for a specific run.
>
> I used strace 4.8.1 on Ubuntu Server 16.04 with:
> strace -e trace=file -f -v -o /tmp/result.strace ./run.sh
>
> Everything is working fine, but the log sometimes contains relative paths
> like:
>
> open("../surf/lh.inflated", O_RDONLY) = 3
> open("../surf/rh.sphere", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
>
> Unfortunatly, the file names are sometimes not unique, which means that
> different files share the same file name, but are located in different
> directories. It becomes difficult to find out which of those files has been
> touched during execution.
>
> Is there a way to force strace to convert all relative file paths to absolute
> ones?Try -y option. It doesn't convert all relative file paths to absolute ones, but you might find this option useful. -- ldv
pgpWYuQxj_4ay.pgp
Description: PGP signature
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
