Eric,

On Wed, Sep 2, 2009 at 4:23 AM, eric.lee1221<eric.lee1...@gmail.com> wrote:
> Hi,
>
> I am trying to install the perfmon2 patches on Intel Xeon E5520 with Redhat 
> Enterprise server 5.3.
> The kernel version of Redhat server is 2.6.18 kernel. Since only the newer 
> perfmon2 supports the
> Intel Nehalem processor, I downloaded a 2.6.29 kernel from ftp.kernel.org. I 
> also patched the kernel using
> the kernel patches downloaded from sourceforge 
> (perfmon-new-base-090622.tar.gz).
>
> Results so far show that I can build and load the 2.6.29 kernel with the 
> modified perfmon2 patches.
> However, when I try to run pfmon I get the following error.
>        >[e...@discovery ~]$ pfmon -eUNHALTED_CORE_CYCLES -- ls
>        >detection of unavailable registers failed, leave it to the kernel to 
> decide
>        >can't create perfmon context: Invalid argument
>
Where did you get pfmon from?

Try using pfmon-3.9, libpfm-3.9.

Also make sure you do not already have a pfmon or libpfm RPM installed.

> And only 5 events are supported.
>    >[...@discovery ~]$ pfmon -l
>        >UNHALTED_CORE_CYCLES
>        >INSTRUCTIONS_RETIRED
>        >LAST_LEVEL_CACHE_REFERENCES
>        >LAST_LEVEL_CACHE_MISSES
>        >BRANCH_INSTRUCTIONS_RETIRED
>
> I wonder if I missed some important issues. How can I fix up the problem?
>
> Thanks!
>
> ------------
> Eric
> 2009-09-02
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to