[maemo-developers] oprofile for n810

From: Tuomas Kulve tuomas at kulve.fi
Date: Sat Mar 15 13:15:29 EET 2008
Please, keep the list as CC.

So, your kernel does have the oprofile support but you are lacking the
user space tools for it.

I think you need to add this to your sources.list:
deb     http://repository.maemo.org/ chinook free non-free

Be careful to install only the oprofile stuff from there as there are
packages not meant to be installed on the device.


Once you get that working you might want to check this out:
http://labs.o-hand.com/oprofileui/



Vinod Hegde wrote:
> Hi Tuomas,
> 
> 
>  I again checked in the scratchbox, it has the image
> zImage-oprofile-rx-34-200749. I am following the standard procedure for
> flashing the kernel. That is, switch off the device, connect to the laptop,
> run flasher, it says sutiable device not found, waiting, then switch on the
> device with home button pressed.
> 
> Then I get the message in the scratchbox.
> 
> USB device found found at bus 001, device address 008
> Found device RX-44, hardware revision 0805
> NOLO version 1.1.7
> Version of 'sw-release': <no version>
> Sending kernel image (1500 kB)...
> 100% (1500 of 1500 kB, avg. 22071 kB/s)
> Flashing kernel... done
> 
> I tried dmesg | grep oprof
> I get
> [            1.1.9375] oprofile using arm/armv6
> 
> But if I type opcontrol --status , i get  -sh: opcontrol: not found.
> 
> and if i give apt-get install oprofile, i get
> 
> reading package list ... Done
> Building dependency tree ... Done
> E: could not find package oprofile
> 
> Could you please tel me where I am going wrong.
> 
> Thanks .....
> 
> On Sat, Mar 15, 2008 at 11:45 AM, Tuomas Kulve <tuomas at kulve.fi> wrote:
> 
>> Vinod Hegde wrote:
>>
>>> But when I try to check the status of opfrofile, with opcontrol
>> --status, i
>>> get that oprofile is not found.
>> Could you paste the exact error?
>>
>> Also check 'dmesg | grep oprof'. It should say something like this:
>>
>> [    1.859375] oprofile: using arm/armv6
>>
>> --
>> Tuomas
>>
>>
> 


-- 
Tuomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20080315/23ef2d13/attachment.pgp 
More information about the maemo-developers mailing list