[maemo-developers] oprofile for n810

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue Apr 1 19:40:31 EEST 2008
ext Tuomas Kulve wrote:
> 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/

oprofile UI server is available for maemo also:
http://maemo.org/development/tools/doc/oprofileui/

(the viewer sources it's probably better to re-build for desktop,
it's not very useful on the device :-))


	- Eero


> 
> 
> 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
>>>
>>>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list