public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* systemtap-1.0.0 runtime failure on ARM - simple stap script   translation fails
@ 2009-12-14  5:55 Indraneel Mukherjee
  2009-12-14  7:09 ` Eugeniy Meshcheryakov
  0 siblings, 1 reply; 9+ messages in thread
From: Indraneel Mukherjee @ 2009-12-14  5:55 UTC (permalink / raw)
  To: systemtap

Hi,
I'm getting the following runtime error on ARM when i try to execute a
simple stap script. The error log is below.

[root@fedora-arm root]# stap -v test.stp
Pass 1: parsed user script and 56 library script(s) in
6040usr/120sys/6210real ms.
Pass 2: analyzed script: 1 probe(s), 11 function(s), 2 embed(s), 1
global(s) in 5050usr/4610sys/13504real ms.
Pass 3: translated to C into
"/tmp/stapkharFx/stap_b865062b08e6d305fd52a1f8999b8bbf_4768.c" in
12590usr/1230sys/22308real ms.
In file included from /root/stap/share/systemtap/runtime/runtime.h:124,
                 from
/tmp/stapkharFx/stap_b865062b08e6d305fd52a1f8999b8bbf_4768.c:51:
/root/stap/share/systemtap/runtime/regs.c: In function '_stp_print_regs':
/root/stap/share/systemtap/runtime/regs.c:270: error: implicit
declaration of function 'condition_codes'
make[1]: *** [/tmp/stapkharFx/stap_b865062b08e6d305fd52a1f8999b8bbf_4768.o]
Error 1
make: *** [_module_/tmp/stapkharFx] Error 2
Pass 4: compiled C into
"stap_b865062b08e6d305fd52a1f8999b8bbf_4768.ko" in
53690usr/9670sys/66343real ms.
Pass 4: compilation failed.  Try again with another '--vp 0001' option.


The Stap Script is a simple one:
#! /usr/bin/env stap
proble vfs.read {
printf("Systemtap ARM test.\n");
exit();
}

SYSTEMTAP VERSION INFO:
I'm using the Fedora ARM distro
- systemtap-1.0.0
- gcc (GCC) 4.4.2 20091019 (Red Hat 4.4.2-5)
- elfutils-0.143-1.fc12.armv5tel

The build and run m/c is ARM(no cross instrumentation). Please let me
know if more verbose logs are required.
Googled without any meaningful pointers. Any pointers will be very helpful!!

TIA,
Indro

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

end of thread, other threads:[~2009-12-17  6:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-14  5:55 systemtap-1.0.0 runtime failure on ARM - simple stap script translation fails Indraneel Mukherjee
2009-12-14  7:09 ` Eugeniy Meshcheryakov
2009-12-14  7:12   ` Eugeniy Meshcheryakov
2009-12-14 10:41     ` Indraneel Mukherjee
2009-12-14 11:00       ` Eugeniy Meshcheryakov
2009-12-14 12:25         ` Indraneel Mukherjee
2009-12-14 15:26           ` Eugeniy Meshcheryakov
2009-12-15 13:50           ` Eugeniy Meshcheryakov
2009-12-17  6:09             ` naresh kamboju

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).