Expand full structure

Dmitry V. Levin ldv at altlinux.org
Mon Jan 25 21:10:03 UTC 2016


On Mon, Jan 25, 2016 at 03:24:06PM -0500, Preston Moore wrote:
> Hey everyone,
> 
> First off, sorry if this is not the proper venue for this sort of question. Is there a way to instruct strace to output the entire structure for *stat[64] calls? For example, in the following line:
> 
> fstat64(3, {st_mode=S_IFREG|0644, st_size=82956, ...}) = 0
> 
> st_mode and st_size are printed but the rest of the fields in the return stat structure are omitted with a “…” being printed instead.

strace output is abbreviated by default, you can change this using
-e abbrev=set option, or just using -v option which effectively does
the same as -e abbrev=none.

For details see strace(1) manpage.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160126/2f371b96/attachment.bin>


More information about the Strace-devel mailing list