vtssrun not profiling child processes

vtssrun not profiling child processes

Hi,

I am trying to run vtssrun with apache server where one master process spawns several child processes.
vtssrun does not seem to be collecting profile data forthe child processes and I can't figure out why.

This is how I am invoking vtssrun

vtssrun --

After the run completes, I see a lot of empty .vtss files.

vtssview -p
gives some results but very few samples and none from the child process.

I also tried attaching to one of the apache child processes with

vtssrun -a

but it immediately exits with the below message.

Internal Error: Attached application can be terminated abnormally
Stop request has been processed..

I think trace:trace is default mode, so child process s'd be getting profiled by default. Can you please help with this ?

thanks,
Sujit

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

If childs are created withfork()/vfork()and exec*() this should work.
clone() in all its variants is unsupported.
I would try to specify trace:trace explicitly.
The OS you are trying to profile on is also imporant.
On Linux it is not guaranteed to work starting with the kernel 2.6.12.

Quoting - Konstantin Lupach (Intel)

If childs are created withfork()/vfork()and exec*() this should work.
clone() in all its variants is unsupported.
I would try to specify trace:trace explicitly.
The OS you are trying to profile on is also imporant.
On Linux it is not guaranteed to work starting with the kernel 2.6.12.

Thanks for the response. I am running this on Linux (RHEL) with kernel 2.6.9
I also tried specifying trace:trace explicitly and it gives the same results.

As you probably know from the product release notes we do notdeclaresupportof thestatistical callgraphtechnologies currently used in PTU. It means we will not be able to help you with this issue resolving right now. However, we will keep you posted when statistical callgraphbased on new supported technologies becomes public. Would you please tell the OS and the appache versions? Thank you very much for your feedback.

Leave a Comment

Please sign in to add a comment. Not a member? Join today