On Thu, Feb 25, 2010 at 4:52 PM, fabio <fabio7...@gmail.com> wrote: > Thanks for the feedback. > > At boot time the kernel reports: > > MIPS24K PMU installed > > however I can't see /sys/kernel/perfmon/model . > Ok, that was pmu_desc/model. So you have it, then it must be something wrong in the user code and in particular in libpfm in the MIPS PMU detection code.
> # ls /sys/kernel/perfmon/* > /sys/kernel/perfmon/arg_mem_max > /sys/kernel/perfmon/debug > /sys/kernel/perfmon/mode > /sys/kernel/perfmon/reset_stats > /sys/kernel/perfmon/smpl_buffer_mem_cur > /sys/kernel/perfmon/smpl_buffer_mem_max > /sys/kernel/perfmon/sys_group > /sys/kernel/perfmon/sys_sessions_count > /sys/kernel/perfmon/syscall > /sys/kernel/perfmon/task_group > /sys/kernel/perfmon/task_sessions_count > /sys/kernel/perfmon/version > > /sys/kernel/perfmon/formats: > default > > /sys/kernel/perfmon/pmu_desc: > model pmc0 pmc1 pmd0 pmd > > > > > > On Thu, Feb 25, 2010 at 5:37 PM, stephane eranian > <eran...@googlemail.com> wrote: >> Hi, >> >> I don't know much about MIPS perfmon support. But, as Phil suggested, I would >> first check that the kernel actually recognized your hardware. Make sure you >> have the MIPS PMU module loaded (or compiled in). You can verify by looking >> at /sys/kernel/perfmon/model. Alternatively, use dmesg to see if perfmon >> printed >> a message regarding your PMU. >> >> On Thu, Feb 25, 2010 at 3:51 PM, Phil Mucci <mu...@eecs.utk.edu> wrote: >>> Hi Fabio, >>> >>> I did some of the MIPS support along with Vince Weaver... You may want to >>> check the initialization code in mips/perfmon.c.. It's not be detecting >>> your PMU properly... >>> >>> Phil >>> >>> On Feb 25, 2010, at 4:38 AM, fabio wrote: >>> >>>> I am trying to perform2 on a MIPS 24k board. >>>> >>>> I have successfully built libpfm3-9 and pfmon3-9. >>>> Installed the kernel patch (perfmon-new-base-090622). >>>> >>>> While running pfmon I am getting the following message: >>>> >>>> # pfmon >>>> Algorithmics/MIPS FPU Emulator v1.5 >>>> no detected PMU support type=65 >>>> >>>> any clue ? >>>> >>>> Thanks >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> >> > ------------------------------------------------------------------------------ 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