On Fri, Feb 14, 2014 at 02:13:59PM -0500, Chris Lumens wrote:
> This adds a --profile (or inst.profile) command that uses the
cProfile
> module to gather information about Anaconda at runtime. Thread profiles
> are dumped in /tmp/thread-*.prof with a unique filename using the thread
> id and a counter for duplicates. The id can be matched to the id in
> anaconda.log (note that the id can be reused, so count the number of
> ThreadDone entries).
>
> Sending a USR2 will include a profile dump in /tmp/anaconda.prof
I think this, the coverage patch, and the existing instperf code need to
get together and decide on a common command line argument and location
to dump their data files.
Good idea. How about /tmp/debug/ ?
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)