Hardware performance counters

2008-03-02 Thread Vinod Hegde
Hi Everyone,

How do I access the hardware performance counters available in OMAP2420.
what are the header files that contain the implementation.
I tried lots to figure out but in vein. thanks for any help
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hardware performance counters

2008-03-02 Thread Gustavo Sverzut Barbieri
On Sun, Mar 2, 2008 at 2:17 PM, Vinod Hegde [EMAIL PROTECTED] wrote:

 Hi Everyone,

 How do I access the hardware performance counters available in OMAP2420.
 what are the header files that contain the implementation.
 I tried lots to figure out but in vein. thanks for any help

Use oprofile, or see how they do it.

http://blog.gustavobarbieri.com.br/2007/05/22/oprofile-and-maemo-n800/

it's outdated, so you need to do your own kernel modules.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi - Embedded and Mobile Software Development
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hardware performance counters

2008-03-02 Thread Siarhei Siamashka
On 3 March 2008, Gustavo Sverzut Barbieri wrote:
 On Sun, Mar 2, 2008 at 2:17 PM, Vinod Hegde [EMAIL PROTECTED] wrote:
  Hi Everyone,
 
  How do I access the hardware performance counters available in OMAP2420.
  what are the header files that contain the implementation.
  I tried lots to figure out but in vein. thanks for any help

 Use oprofile, or see how they do it.

 http://blog.gustavobarbieri.com.br/2007/05/22/oprofile-and-maemo-n800/

 it's outdated, so you need to do your own kernel modules.

Up to date instructions are here, it is really easy to install:
http://maemo.org/development/tools/doc/oprofile/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers