Oprofile querry

by click...@gmail.com » Tue, 03 Mar 2009 14:40:30 GMT


Sponsored Links
 Hi,

I am facing problem with starting Oprofile in the device. Following
things are done.

1. Enabled oprofile in Kernel.
2. The utils 'oprofiled' and 'opcontrol' is present in '/system/xbin'.

When I run '#opcontrol --start' I get the following error.
"Cannot open /dev/oprofile/enable: No such file or directory"

I am using ARM-6410.

Please provide with information.

Regards
click321


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



Oprofile querry

by click...@gmail.com » Wed, 04 Mar 2009 13:07:20 GMT


 Hi,

I followed the following steps provided by Mr. Konig.Yuan

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/

Things seems to work fine. but the log in /data/oprofile/samples/
oprofiled.log contains

oprofiled.log
****************************************************************************************
oprofiled started Thu Jan  1 00:04:18 1970
kernel pointer size: 4

Thu Jan  1 00:14:18 1970

Nr. sample dumps: 2
Nr. non-backtrace samples: 0
Nr. kernel samples: 0
Nr. lost samples (no kernel/user): 0
Nr. lost kernel samples: 0
Nr. incomplete code structs: 0
Nr. samples lost due to sample file open failure: 0
Nr. samples lost due to no permanent mapping: 0
Nr. event lost due to buffer overflow: 0
Nr. samples lost due to no mapping: 0
Nr. backtraces skipped due to no file mapping: 0
Nr. samples lost due to no mm: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost invalid pc: 0

Thu Jan  1 00:24:18 1970

Nr. sample dumps: 2
Nr. non-backtrace samples: 0
Nr. kernel samples: 0
Nr. lost samples (no kernel/user): 0
Nr. lost kernel samples: 0
Nr. incomplete code structs: 0
Nr. samples lost due to sample file open failure: 0
Nr. samples lost due to no permanent mapping: 0
Nr. event lost due to buffer overflow: 0
Nr. samples lost due to no mapping: 0
Nr. backtraces skipped due to no file mapping: 0
Nr. samples lost due to no mm: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples lost invalid pc: 0
****************************************************************************************
There is nothing like /data/oprofile/samples/current/

- How to get the log files?
- How can I view them?
- Is there any configuration I have missed, using "oprofiled"?

Regards
Click






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


Sponsored Links


Oprofile querry

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


 id you have any success resolving it?

On Mar 3, 11:07 pm, "click...@gmail.com" <click...@gmail.com> wrote:

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



Other Threads

1. Capture Video of App

One of the alternative app stores is asking for unaltered, unedited
capture from the app as a video.

Plus I'm also interested in cleaner video than I get by focusing a
camcorder on  an Android on a table.

Who knows how to do that? I think I found some posts that indicate
Mark Murphy may have solved this with a tool that goes through DDMS.
If so, I'll get that tool and donate.

Nathan

-- 

2. Playback on multiple audio outputs

Hi

We have two separate audio outputs in our system and we would like to
be able to playback simultaneously on both.
We're thinking using the MixerThread to play on the main output and
the DirectOutputThread to play on the secondary output (basically,
playing an MP3 file on main output and during this playback, generate
an alarm on the secondary output).

Is this possible? Has anyone tried that already?

If this is possible, how can we instruct MixerThread to output data on
main audio output and DirectOutputThread on secondary audio output? Is
this possible using an implementation of AudioPolicyManager? Or is
this one too much related to phone audio state?

thanks
D.

-- 

3. How to get build source code working on my Phone

4. Mirink Chapter Jogja Hari Ini

5. Paging Indovision staff..

6. Perpanjang xlunlimited

7. i am Mca fresher ,i want job on android.