I've built an RDC driver forFedoraCore3using the VDK. I'm using VTune 9.0. I can successfully perform remote callgraph profiling from my Windows system, all the drill-downs work fine, right down to source code level. However, I am having problems with sampling.
Firstly,my process is listed in the Process window using its PID, not its name. Secondly, once I've worked out the correct process, all samples are allocated to either kernel or "Other32". I'm trying to collect Instructions Retired and Clockticks, using EBS. I'm fairly certain my program is built correctly because like I say, call graph works fine. I'm also fairly certain (based on the callgraph results) that there should be plenty of samples occurring within my program's modules.
Any ideas anyone?
Thanks for the reply. When you say "symbols", do you mean debug symbols for my application or the kernel? I have built my application with debug information (the "-g" option for GCC) and I was assuming that I must have done this correctly because callgraph is working. I haven't rebuilt the kernel with debug information though. I understood this was only necessary if I wanted to see what was happening within the kernel. Are you saying that I need to rebuild the kernel for EBS to work at all?
The PTU profiler, available on the WhatIf forum, has more options to gain recognition of source modules, although documentation may be lacking.