Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Mon, Mar 07, 2011 at 10:26:56AM -0500, Kevin Hunter wrote:

truss is the strace equivalent but it stops printing anything after
the initial LibO launch. There's nothing shown when I save a file.

Does truss have the ability to follow child processes?  It's been 
awhile, but I believe strace has this capability via -ff and -o.  You'll 

It should, but I found a much better way: just run the tracing program
at the right time by attaching it to the soffice.bin process

$ truss -p <pid> -o trace.log

In other words, LO forks itself a number of times, which is why when you 
run it from the command line without backgrounding it, it returns 
control to the shell almost immediately.

I figured it out after Michael's mail.
I'll try to focus on reducing the number of poll() calls for now, the traces
will be much more useful without the noise.

ATB,

-- 
Francois Tigeot

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.