This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Met Problem on Enable SystemTap on Android
- From: "Yao,Yanjun" <jiaoyang28 at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 30 Aug 2011 15:10:41 -0400
- Subject: Met Problem on Enable SystemTap on Android
Hi all,
I tried enable SystemTap on Android, however, after I finished all the
set up, no matter what I tried to run, I always get a "stap: 57:
Syntax error: "(" unexpected" error.
The following are my setting up steps:
1. Download android source.
2. Enable user debuggability by using command "lunch full_crespo-userdebug"
3. Download and install "systemtap-1.5-macharm" by following
instructions on OMAPedia Systemtap webpage
4. Use "adb push" to copy all things inside "systemtap-1.5-macharme/"
to "/data/systemtap-1.5-macharm" on the phone
5. Copy "Android_Source/out/target/product/crespo/system/modules/bcm4329.ko"
into "/data/systemtap-1.5-macharm/bin" on the phone
6. Run "adb shell", then goto directory
"/data/systemtap-1.5-macharm/bin" and run "staprun /bcm4329.ko".
After that, I tried all the executables in the
"/data/systemtap-1.5-macharm/bin", all of them report an syntax error.
May I ask what have I done wrong?
I was trying to set up the systemtap on android for almost two
weeks... Does anyone have a detailed manual to be shared?
Any help would be welcome.
Hope to get a reply soon.
Thank you very much.
Yours
Sincerely