Does anyone use the tool "oprofile" in the open source code

by luyen » Tue, 24 Feb 2009 07:22:51 GMT


Sponsored Links
 an user has this question:

Does anyone try the tool "oprofile" in the source code folder
"external".
When I use command "oprofile -r start", it will show "Unable to open
cpu_type file for reading Make sure you have done opcontrol --init"
After I finish opcontrol --init, it show the same.
Does I need to set up something first, there is no guide to tell how
to use it.

from:  http://androidcore.com/android-community.html?func=view& ;catid=22&id=17

Does anyone has the answer?
--~--~---------~--~----~------------~-------~--~----~



Does anyone use the tool "oprofile" in the open source code

by Konig.Yuan » Fri, 27 Feb 2009 12:46:49 GMT


 (1) opcontrol --setup, if it failed, the oProfile is not built in
your android kernel.

   you need to enable the CONFIG_OPROFILE=y CONFIG_PROFILING=y
CONFIG_OPROFILE_ARMV6=y

  (2) If the opcontrol --setup successed. cat /dev/oproflie/cpu_type
check whether it is arm/armv6

       Seems google android supports arvm6 by default.

  (3) opcontrol --event TLB_MISS:150000 (you can change the events)


  (4) echo 1 >/dev/oprofile/enable  to start profiling (seems
"opcontrol --start" not work).

  (5) opcontrol --status ,check whether oprofiled is runing or not


  (6) echo 0 >/dev/oprofile/enable to stop the profiling(seems
opcontrol --stop not work).
      Sample data will be collected to /data/oprofile/samples/current/










--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Does anyone use the tool "oprofile" in the open source code

by ATC » Sat, 07 Mar 2009 10:53:19 GMT


 Hi,



I am trying to get OProfile working on Android



I have built the kernel with



make CONFIG_OPROFILE=y CONFIG_PROFILING=y CROSS_COMPILE=arm-none-eabi-
uImage



However, when I try to run it, it says the oprofiled is not running.
Is there quick way to make sure that oprofiled is running?



# echo 1 >/dev/oprofile/enable



# opcontrol --status

Driver directory: /dev/oprofile

Session directory: /data/oprofile

Counter 0 disabled

Counter 1 disabled

Counter 2 disabled

oprofiled is not running








--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Hero Bluetooth Transfer File

Malem master,

maaf newbie mo nanya nih apa bener untuk hero blum bisa trasfer file via
bluetooth udah di cari eh ternyata banyak yang bilang gak bisa
cek di htc.com<http://www.htc.com/sea/faqs.aspx?p_id=283&cat=&id=111126&f=t>juga
bilang gak bisa.

klo ternyata ada yang pernah bisa
minta tolong dishare dikit ya info nya

-- 
gak bisa online ym cuma bisa dari gtalk

-- 
"Indonesian Android Community [id-android]" 

2. Soal Magic nih....

sapphire unknown 32a ship s-on-g
hboot -1.33.0006
radio - 2.22.19.261

Saya ngikutin dari : http://tux.or.id/?p=79

dah berhasil flash custom recovery image nya , trus off-phone, on dgn home+power....tp cuma tampilan backgound ijo dgn tulisan mytouch3g walau dah teken dan tahan lama.....lama banget... :P kenapa yah ? trus selanjut nya gimana -- Jus* ~ send using pc jangkrik krik krik ~ -- "Indonesian Android Community [id-android]"

3. Alpha 14 ga bisa app2sd?

4. Android Device Seeding Program - Differences in phone for developers?

5. Where is the source project location of YouTube in Eclair?

6. Where is the source project location of YouTube in Eclair?

7. query about the usage of HttpsURLConnection