Start / stop tracing from within the source

Questions about YourKit Java Profiler
Post Reply
quisam
Posts: 1
Joined: Wed Jun 22, 2005 11:40 pm

Start / stop tracing from within the source

Post by quisam »

Hi,

first congratulation for you great product. We'ra using build 608 from eap on a Sun v40z Solaris 10 with 32 GB Ram and a Sun V1280 Solaris 9 with 196 GB Ram.

Is there a way to start and stop the tracing by calling some methods in java. Our jobs are running for several hours to some days and mostly we are only interested in tracing some minutes. So at the moment we have to manually watch the job and start the tracing by hand. This can be quite anoying, if you miss the point after some hours and you have to restart the job and wait some hours again.

Yours,
Markus
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Profiler has Java API to control profiling process. Please tale a look at bundled samples and documentation.
Post Reply