Hi Da,
On Thu, 2011-07-14 at 17:58 -0700, Da Zheng wrote:
I cross-compiled systemtap and tried to run it on an ARM platform, but
got the following error:
chronos@localhost ~ $ sudo stap --vp 01 syscalls_by_pid.stp
semantic error: unresolved arity-4 function: identifier
'_arch_ptrace_argstr' at /usr/share/systemtap/tapset/aux_syscalls.stp:2234:9
source: retval=_arch_ptrace_argstr(request, pid, addr, data)
^
Pass 2: analyzed script: 285 probe(s), 1528 function(s), 21 embed(s), 1
global(s) using 112076virt/96408res/46364shr kb, in
3690usr/190sys/4041real ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
We don't yet have a tapset/arm/aux_syscalls.stp version.
Look at one of the existing tapset/*/aux_syscalls.stp
(i386,ia64,powerpc,s390,x86_64) ones for examples how to write one.