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
pgpLmpiGAT9gn.pgp
Description: PGP signature
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel