We are trying to use VTune for the first time and we are trying to use Event Based sampling. However we get the log message "The Sampling Collector failed to collect data because the selected event(s) did not occur.".
We run VTune (version 7.2, build 16929) on a Pentium III system (Family 6 Model 8 Stepping 6, 496MHz and 768 MB RAM) running "Windows Server 2003 Enterprise Edition" and we have only selected the "clockticks" and "instructions retired" events.
We get the error message regardless of which of the calibration radio-buttons is selected in the "Configure Sampling" dialog. We have a sampling interval setting of 1 millisecond and we sample for 20 seconds or more. We have tried to follow the "VTune Help Trouble Shooter", but with no success. :(
We have not changed any default settings for "Sample After" for any events, thus for the clockticks event we have a "Sample After" setting of 500000. VTune reports system bus frequency as 533MHz.
Just curious: did callgraph work on say, a small sample application? Or do you get an error there as well?
We have so far only been able to use sample based collection using the OS timer, but yesterday we were finally able to instrument our binary for call-graph analysis. We have yet tried to do a call-graph analysis using the instrumented binary, but we will try to do that today. Event based sampling does not still work.
What I remember (it has been aVERY long time) was that it was a decision made by the laptop vendor. The chip had the registers, whether they were enabled or not was decided by the folks who had their name on the laptop.
And just thought of something obvious: be sure to compare the processor of your laptop with the list of supported processors that are in the VTune Analyzer release notes. Might give us a fast answer, because if it's in the supported list, you can head right on over to premier support and open a case on this:
Message Edited by jdgallag on 09-28-2005 10:37 AM
No, this is not a laptop we are talking about; it is a clustered, embedded PC connected to a SCSI RAID located in a telecom node.
Thus it seams like you have found the problem (if we can trust my program). :)
I attach the source code (forced to use ".txt" extension since ".cpp" is not a "valid" extension) for my little program in the hope that someone can review it and tell me if there are any obvious bugs in it or not. :)