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. CTS fail on android 1.5 r1

One of the failed case is as following in the test result.
<Test endtime="Wed Sep 02 21:41:39 CST 2009" name="testInit"
result="fail" starttime="Wed Sep 02 21:41:38 CST 2009">
<FailedScene message="java.lang.NullPointerException at
android.widget.cts.DatePickerTest.getPickerText(DatePickerTest.java:
326)">
<StackTrace>at android.widget.cts.DatePickerTest.getPickerText
(DatePickerTest.java:326)
at android.widget.cts.DatePickerTest.testInit(DatePickerTest.java:133)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:164)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:151)
at android.test.InstrumentationTestRunner.onStart
(InstrumentationTestRunner.java:418)
at android.app.Instrumentation$InstrumentationThread.run
(Instrumentation.java:1520)
at android.widget.cts.DatePickerTest.getPickerText(DatePickerTest.java:
326)
at android.widget.cts.DatePickerTest.testInit(DatePickerTest.java:133)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:164)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:151)
at android.test.InstrumentationTestRunner.onStart
(InstrumentationTestRunner.java:418)
at android.app.Instrumentation$InstrumentationThread.run
(Instrumentation.java:1520)
</StackTrace>
</FailedScene>
</Test>

The CTS source code relative to this case is :
assertEquals("2000", getPickerText(datePicker,
com.android.internal.R.id.year));

I guess there are something wrong with com.android.internal.R.*
I have not modified the public.xml but i modified some resouce files
in the directory "frameworks\base\core\res\...".

Why it fails?
Anyone may help me?
Does it mean I can not modify anything under the "frameworks\base\core
\res\..."?

Thanks.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Trouble in Printing Unicode Male Character

Hello Guys,
I am trying to print Unicode Male Sign on Android, when I print it on
Android, it looks different from the original sign. The original sign seems
to be little bit tilted like it is 2 o'clock but in android it is coming
straight and looking like it is 12 o'clock.

Unicode value for MALE sign is '\u2642'.

And to print on screen I tried few of different options...
(TextView).setText(MALE)
(TextView).setText(Html.fromHtml(MALE))

And I tried to print as given in sample UnicodeChart, that too din't helped

Anyone have some clue, what I am doing wrong.

Thanks

Regards
Gopal

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

3. porting on S3C24xx (ARMv4T)

4. Updating ADC2 entry in second round

5. Running camera in emulator using computer's webcam

6. Wondering if someone can clarify this android 2.0 and 1.6

7. Intent for the Alarm Clock application