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. How to use Notification service from Broadcast receiver

Can anyone give me a solid code to use notification service from
inside a broadcast receiver

-- 

2. How does one detect when an animation has finished?

Hi,
as a noob to android development I'm trying to run a couple of simple
interpolator based animations on an app splash screen. Nothing earth
shattering just an animation to zoom (scale) a logo in, pause and zoom
out before proceeding to the app. The problem I'm having is detecting
when the first animation has finished before the second starts an in
turn when the second finishes before launching the main app.


The code below in what I'm trying to achieve;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.splash);

        logo = (ImageView)this.findViewById(R.id.logo);

 
logo.startAnimation(AnimationUtils.loadAnimation(getBaseContext(),
R.anim.logo_anim_in));
        //pause when finished...
 
logo.startAnimation(AnimationUtils.loadAnimation(getBaseContext(),
R.anim.logo_anim_out));
        // start main activity when finished

Q: A) How can I detect when the animation has finished, that is
perform the commented actions?
    B) Is this the best way to go about this as I suspect it isn't?

-- 

3. Using transparent png textures won't work

4. Widget size problem

5. Unable to install latest Android SDK on Ubuntu 10.10

6. External Jar and Resources

7. Phone KPI info