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


On Wed, Sep 07, 2011 at 05:45:57PM -0400, Yao,Yanjun wrote:
> Hi,
> 
> I recompile the kernel with cross-compiler "arm-none-linux-gnueabi-"
> and "make ARCH=arm"
> 
> Now, I can get "helloworld.ko" from "helloworld.stp", however, when I
> try to cross-compile "syscall_by_pid.stp", I got the following error
> message:
> ./stap -c -gv -a arm -D OMAP_L25 -B
> CROSS_COMPILE=~/Downloads/arm-2010q1/bin/arm-none-linux-gnueabi- -r
> /home/lwan1/WORKING_DIRECTORY/kernel_1 -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 -c "sleep 0.2"
> WARNING: kernel release/architecture mismatch with host forces last-pass 4.
> semantic error: unresolved arity-4 function: identifier
> '_arch_ptrace_argstr' at
> /data/systemtap-1.5-ubuntu/share/systemtap/tapset/aux_syscalls.stp:2234:9
> ??????? source: ??? retval=_arch_ptrace_argstr(request, pid, addr, data)
> ??????????????? ??? ?????? ^
> Pass 2: analysis failed.? Try again with another '--vp 01' option.
> 
> I thought it was the problem of the tapset, so I reinstalled the
> systemtap, but the problem is still there.
> 
> Any hint would be welcome.

This was fixed in current systemtap git sources by:

commit 0c3087cc827a9e79abcf573e1a7ebfbc0be60c0e
Author: William Cohen <wcohen@redhat.com>
Date:   Tue Jul 19 17:38:52 2011 -0400

    Add tapset/arm/aux_syscalls.stp
    
    The ARM processor needs to have _arch_ptrace_argstr() function defined
    so the kernel-debuginfo smoke test used for the "make installcheck" works.

Cheers,

Mark


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