public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* error to run systemtap in an ARM platform
@ 2011-07-15  0:58 Da Zheng
  2011-07-15  9:43 ` Mark Wielaard
  0 siblings, 1 reply; 27+ messages in thread
From: Da Zheng @ 2011-07-15  0:58 UTC (permalink / raw)
  To: systemtap

Hello,

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.

my script is just a file doing nothing, which is attached in the end of 
the email.
The version of systemtap is 1.5/0.131, I download from 
http://sourceware.org/systemtap/ftp/releases/systemtap-1.5.tar.gz. The 
kernel version is 2.6.38.3.

I got some errors when I cross compile systemtap. At first, configure 
fails, so I have to give the following variables an empty value
     export ac_cv_file__usr_include_nss3=
     export ac_cv_file__usr_include_nss=
     export ac_cv_file__usr_include_nspr4=
     export ac_cv_file__usr_include_nspr=
     export ac_cv_file__usr_include_avahi_client=
     export ac_cv_file__usr_include_avahi_common=
Then I remove -Werror in runtime/staprun/Makefile.in because 
__SDT_COND_SIGNED(wchar_t) in includes/sys/sdt.h generates error. I 
wonder if the complication errors I got have anything to do with the 
runtime error I get.

Does anyone know how to fix the runtime error?

Thanks,
Da


#! /usr/bin/env stap

# Copyright (C) 2006 IBM Corp.
#
# This file is part of systemtap, and is free software.  You can
# redistribute it and/or modify it under the terms of the GNU General
# Public License (GPL); either version 2, or (at your option) any
# later version.

#
# Print the system call count by process ID in descending order.
#


probe begin {
}

probe syscall.* {
}

probe end {
}

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2011-07-26 17:47 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-15  0:58 error to run systemtap in an ARM platform Da Zheng
2011-07-15  9:43 ` Mark Wielaard
2011-07-15 20:00   ` Da Zheng
2011-07-15 20:15     ` Frank Ch. Eigler
     [not found]       ` <4E20A714.9020404@gmail.com>
2011-07-15 20:50         ` Frank Ch. Eigler
2011-07-15 20:46     ` William Cohen
2011-07-15 21:29       ` Da Zheng
2011-07-16  0:23         ` Turgis, Frederic
2011-07-18 14:13           ` William Cohen
2011-07-18 19:02             ` Da Zheng
2011-07-18 20:10               ` William Cohen
2011-07-18 20:18                 ` William Cohen
2011-07-18 20:41                 ` Da Zheng
2011-07-23 22:56                   ` Zheng Da
2011-07-24  1:57                     ` Frank Ch. Eigler
2011-07-24 16:10                       ` Frank Ch. Eigler
2011-07-25 10:04                     ` Mark Wielaard
2011-07-25 19:34                       ` Da Zheng
2011-07-25 15:46                     ` William Cohen
2011-07-25 19:36                       ` Da Zheng
2011-07-25 20:46                         ` Mark Wielaard
2011-07-25 17:17                     ` William Cohen
2011-07-25 19:56                       ` Da Zheng
2011-07-26 14:03                         ` William Cohen
2011-07-26 17:47                           ` Da Zheng
2011-07-19 11:38             ` Turgis, Frederic
2011-07-18 14:00         ` William Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).