Expand full structure

Dmitry V. Levin ldv at altlinux.org
Fri Jan 29 11:48:01 UTC 2016


On Tue, Jan 26, 2016 at 01:39:46PM -0500, Preston Moore wrote:
> Ok perfect. That is now behaving exactly as I needed it to. Thanks!
> 
> Here’s a second question, is there a way to instruct strace  to not pretty print flags values? For example, in the previously mentioned line can I get the integer value of st_mode rather than "S_IFREG | 0644"? I’m working on a tool that parses strace output and would like to avoid having to do some sort of lookup of S_IFREG’s integer value and perform the bitwise or with 0644 (octal right?) myself.

There is no such option.  There are two ways how each syscall can be
printed by strace: raw (-e raw=set) or decoded.  In the latter case,
decoding can be either verbose (-e verbose=set) or not, and either
abbreviated (-e abbrev=set) or not.


-- 
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/20160129/7f60b35a/attachment.bin>


More information about the Strace-devel mailing list