This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/13022] New: probe module("*").function("*") does not work on arm
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Sat, 23 Jul 2011 16:38:21 +0000
- Subject: [Bug translator/13022] New: probe module("*").function("*") does not work on arm
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13022
Summary: probe module("*").function("*") does not work on arm
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: wcohen@redhat.com
Target: arm
When running the systemtap testsuite on an arm machine running fedora 13 a
number of the tests do not work because the module("*").function("*") probes do
not work. Below is a one line example that demonstrates the problem on arm:
../install/bin/stap -p4 -k -e 'probe module("ext3").function("zero_user")
{print("I am here\n"); exit();}'
Results in:
semantic error: libdwfl failure (dwfl_module_relocate_address): no matching
address range
Pass 3: translation failed. Try again with another '--vp 001' option.
Keeping temporary directory "/tmp/stapQxJahh"
The module is installed and stap -L works fine:
[wcohen@thumb obj]$ lsmod|grep ^ext3
ext3 123180 1
[wcohen@thumb obj]$ ../install/bin/stap -L
'module("ext3").function("zero_user")'
module("ext3").function("zero_user@include/linux/highmem.h:164") $page:struct
page* $size:unsigned int $start:unsigned int
Use gdb and set a breakpoint at dwarf_wrappers.cxx:30 to get a backtrace for
the earlier one-liner:
(gdb) where
#0 dwfl_assert (desc="dwfl_module_relocate_address", rc=<value optimized out>)
at ../systemtap/dwarf_wrappers.cxx:30
#1 0x000782b0 in dwfl_assert (m=0x1f9, userdata=<value optimized out>,
name=<value optimized out>, base=65536, arg=0x7e9757dc)
at ../systemtap/dwarf_wrappers.h:43
#2 dump_unwindsyms (m=0x1f9, userdata=<value optimized out>,
name=<value optimized out>, base=65536, arg=0x7e9757dc)
at ../systemtap/translate.cxx:5058
#3 0x2ab8927c in dwfl_getmodules (dwfl=0xc07c50,
callback=0x77a60 <dump_unwindsyms(Dwfl_Module*, void**, char const*,
Dwarf_Addr, void*)>, arg=0x7e9757dc, offset=1) at dwfl_getmodules.c:103
#4 0x0006ea40 in emit_symbol_data (s=...) at ../systemtap/translate.cxx:5607
#5 0x000772e8 in translate_pass (s=...) at ../systemtap/translate.cxx:6049
#6 0x00016ef0 in passes_0_4 (s=...) at ../systemtap/main.cxx:760
#7 0x00017ffc in main (argc=<value optimized out>, argv=<value optimized out>)
at ../systemtap/main.cxx:998
The same problem has been mentioned on:
https://wiki.linaro.org/Platform/DevPlatform/systemtap
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.