Hi All I want to use software counters available via "xenperf". However I get this error "Error getting number of perf counters: 38 (Function not implemented)". Am I missing something? Some configuration or option which needs to be turned on before I can use these counters. Any help would be much appreciated. I am using Xen 3.1.0 x86_64 -- Jyotirmaya Tripathi Virginia Tech _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Performance counters are not built into Xen by default. You need to build Xen with perfc=y make¹. -- Keir On 14/11/07 17:09, "Jyotirmaya Tripathi" <jyotirmaya.tripathi@gmail.com> wrote:> Hi All > > I want to use software counters available via "xenperf". However I get this > error > "Error getting number of perf counters: 38 (Function not implemented)". Am I > missing something? Some configuration or option which needs to be turned on > before I can use these counters. Any help would be much appreciated. > > I am using Xen 3.1.0 x86_64_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks for quick reply. I tried as follows perfc=y make : which builds xen and installs it in dist directory sh ./install.sh : which installs xen in /boot But still I am getting same error. Any idea where I am wrong? On Nov 14, 2007 12:12 PM, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:> Performance counters are not built into Xen by default. You need to build > Xen with ''perfc=y make''. > > -- Keir > > On 14/11/07 17:09, "Jyotirmaya Tripathi" <jyotirmaya.tripathi@gmail.com> > wrote: > > Hi All > > I want to use software counters available via "xenperf". However I get > this error > "Error getting number of perf counters: 38 (Function not implemented)". Am > I missing something? Some configuration or option which needs to be turned > on before I can use these counters. Any help would be much appreciated. > > I am using Xen 3.1.0 x86_64 > > >-- Jyotirmaya Tripathi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
You probably have a stale object file having around. Do a make clean, then a perfc=y make. Cheers, Mark On Wednesday 14 November 2007, Jyotirmaya Tripathi wrote:> Thanks for quick reply. > I tried as follows > > perfc=y make : which builds xen and installs it in dist directory > sh ./install.sh : which installs xen in /boot > > But still I am getting same error. Any idea where I am wrong? > > On Nov 14, 2007 12:12 PM, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote: > > Performance counters are not built into Xen by default. You need to > > build Xen with ''perfc=y make''. > > > > -- Keir > > > > On 14/11/07 17:09, "Jyotirmaya Tripathi" <jyotirmaya.tripathi@gmail.com> > > wrote: > > > > Hi All > > > > I want to use software counters available via "xenperf". However I get > > this error > > "Error getting number of perf counters: 38 (Function not implemented)". > > Am I missing something? Some configuration or option which needs to be > > turned on before I can use these counters. Any help would be much > > appreciated. > > > > I am using Xen 3.1.0 x86_64-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel