cannot start oprofile in android

by waterblood » Mon, 16 Feb 2009 11:12:39 GMT

Sponsored Links
 Hi all,

   I cannot start oprofile in my android device. Does anyone can guid
me how to start the oprofile in android?

  Below is my type in shell:
opcontrol --init
opcontrol --no-vmlinux
opcontrol --reset
opcontrol --setup --event=CPU_CYCLES:100000
opcontrol --start
opcontrol --stop

  And I check the code in external/oprofile/op_config.h

#define OP_DRIVER_BASE  "/dev/oprofile"
#define OP_DATA_DIR     "/data/oprofile"

  Does those directory should be created by "opcontrol --init"? But i
cannot see the directory created in my file system.

Thanks for your reply
guoyin chen

cannot start oprofile in android

by ATC » Thu, 05 Mar 2009 17:10:21 GMT

 Did you fix this problem?


Sponsored Links

cannot start oprofile in android

by waterblood » Mon, 09 Mar 2009 05:45:09 GMT

 Actually not.


Other Threads

1. Determining which pointer is moving

Hi all.  I am processing multi-touch MotionEvents and have a need to
only process MOVING pointers when an ACTION_MOVE is detected (rather
than all pointers).  Currently, I have a loop that goes through each
pointer in my ACTION_MOVE case statement and sends it off for
processing, but it would be great to just process the pointer(s) that
triggered the ACTION_MOVE).

One solution would be to store the location for each pointer on each
ACTION_MOVE, and when a subsequent ACTION_MOVE is triggered, loop
through each pointer, get it's position and determine if that has
changed at all from the previous movement.  It's a bit clunky, so I
wanted to ask here to see if there might be a simpler way to determine
which pointer(s) are moving and triggered the ACTION_MOVE in the first

Thanks for any advice,



2. Market in U.K. not up to date?

According to one of my users in the U.K. (I'm in the U.S.), my app is 
still showing a version that's at least two weeks old in the Android 
Market that he has access to. Is there any particular reason for this? 
It's causing some grief since he could really use the update. I'm also 
surprised that I haven't heard of this from any other users (or maybe 
they're just not aware that an update is available).

Doug Gordon


3. How to update particular widget instance in reaction to its inside button click

4. AnimationListener.onAnimationRepeat never gets called

5. bug reporting

6. build-in Music App reinstall

7. soft keyboard interfering with physical keyboard