That's definitely helpful. My arch is 24k hence my kernel is compiled for a 32 bits processor meaning that Perfmon's syscalls go nowhere. I have changed that in an hardcoded way and it started to play. What's your recommendation for a clean 32 bits detection pointing it to the right syscalls ? I still need to fix few issues due to the parsing in /proc/cpuinfo as my CPU clock has a wrong value of 100Mhz then I will start to test perfmon.
Thanks for your support. Fabio Vince Weaver wrote: > The problem is that the pfmon utility itself doesn't have support for the > 24k CPU (see pfmon/pfmon_mips64.c) > > What you can do is in pfmon/pfmon_mips64.c, cut and paste the > 20kc code, then change the occurances of 20kc to 24k. > > Then in pfmon/pfmon.c find the code block > #ifdef CONFIG_PFMON_MIPS64 > and add a pointer to the new 24k structure in there. > > Rebuild pfmon, and in theory it should work... > > > Vince > > > >>>>>>>> # pfmon >>>>>>>> Algorithmics/MIPS FPU Emulator v1.5 >>>>>>>> no detected PMU support type=65 >>>>>>>> > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel