This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Met Problem on Enable SystemTap on Android


Thanks Turgis.

The fixed the -D problem. However, new problem comes out.

I tried to cross-compile the syscall_by_pid.stp but stuck on phase 4.
So I tried the most simple script helloworld.stp, but it still does
not work. I reinstalled the systemtap host and target tools, and I
double checked the ptrace.h and kernel compilation flags. Nothing
seems to be wrong.

The commands I run are:
./stap -gv -a arm -D OMAP_L25 -B
CROSS_COMPILE=~/Downloads/arm-2008q3/bin/arm-none-linux-gnueabi- -r
/home/lwan1/WORKING_DIRECTORY/kernel -I
/data/systemtap-1.5-macharm/share/systemtap/tapset/ -R
/data/systemtap-1.5-macharm/share/systemtap/runtime/ -m
syscalls_by_pid ~/Downloads/syscalls_by_pid.stp

and

./stap -gv -a arm -D OMAP_L25 -B
CROSS_COMPILE=~/Downloads/arm-2008q3/bin/arm-none-linux-gnueabi- -r
/home/lwan1/WORKING_DIRECTORY/kernel -I
/data/systemtap-1.5-macharm/share/systemtap/tapset/ -R
/data/systemtap-1.5-macharm/share/systemtap/runtime/ -m helloworld
~/Downloads/helloworld.stp

As the error message is too long, I saved them in .txt files and
attached them here.

Please check them up, and help me get through this procedure.

Any hint would be warmly welcomed.

Thank you very much.

Yours
Sincerely

Attachment: syscall_by_pid_error.txt
Description: Text document

Attachment: helloworld_error.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]