If the process on which you want to collect data is already running, you
can attach the dbx Debugger to it using Debug Attach or the dbx attach command, then configure the Collector to
collect performance data. This procedure is one way in which you might be able to
collect data on a specific descendant process, for example. However,
you cannot collect tracing data of any kind from a running process
unless the Collector library, libcollector.so, has been preloaded. In
addition, data can be lost or corrupted if the running process installs its
own signal handler, calls setitimer(3) or uses the hardware counter
library, libcpc.so(3).
See also | |
---|---|
Collecting Performance Data Programs That Install Signal Handlers Programs That Use Hardware Counters |