I am using Rational Application Developer (RAD) 9.1 to do some profiling of an application running on WAS, where the WAS instance is on a remote machine. I have setup Rational Agent Controller (RAC) and can successfully obtain profiling data using the RAD profiling perspective. However, I would like to target the profiling at specific pieces of code, and automate the profiling in a performance regression test suite.
So, my question is; Can I start and stop the collection of profiling data programmatically, from within the application code?
I know that the profiling tools in RAD are based on TPTP, and TPTP has an API to do this, so I am hoping this is also possible with the rational tools.