* [Bug translator/10305] New: mark probes fail on prelinked shared library
@ 2009-06-22 10:43 mjw at redhat dot com
2009-06-22 18:47 ` [Bug translator/10305] " mjw at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: mjw at redhat dot com @ 2009-06-22 10:43 UTC (permalink / raw)
To: systemtap
exelib.exp contains a test for putting user space mark probes on a shared
library (currently disabled) that fails.
Enable the prelink tests by adding yes (or replacing the no) in exelib.exp:
foreach libprelink {no} { # BUG! "yes" breaks uname tests
$ /usr/local/systemtap/bin/stap -vv
/home/mark/src/systemtap/testsuite/systemtap.exelib/mark.stp
./uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe
./libuprobeslibgcc-O0default-prelink-debug.so -c
./uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe
SystemTap translator/driver (version 0.9.8/0.141 commit
release-0.9.8-85-g98a1242 + changes)
Copyright (C) 2005-2009 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Session arch: x86_64 release: 2.6.29.4-167.fc11.x86_64
Created temporary directory "/tmp/stapZhqoLa"
Searched '/usr/local/systemtap/share/systemtap/tapset/x86_64/*.stp', found 3
Searched '/usr/local/systemtap/share/systemtap/tapset/*.stp', found 51
Pass 1: parsed user script and 54 library script(s) in 340usr/10sys/436real ms.
probe
main_func@/home/mark/src/systemtap/testsuite/systemtap.exelib/uprobes_exe.c:22
process=/home/mark/src/systemtap/testsuite/uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe
reloc=.absolute section=.text pc=0x400600
semantic error: no match while resolving probe point
process("./libuprobeslibgcc-O0default-prelink-debug.so").statement(104859104)
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in
10usr/10sys/7real ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
Running rm -rf /tmp/stapZhqoLa
Note how the probe is set at 104859104 (0x64005E0). The library is (p)relinked
at 0x6400000 and the probe (nop) is indeed at 0x64005e0 <lib_func+20>.
--
Summary: mark probes fail on prelinked shared library
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mjw at redhat dot com
CC: scox at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10305
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug translator/10305] mark probes fail on prelinked shared library
2009-06-22 10:43 [Bug translator/10305] New: mark probes fail on prelinked shared library mjw at redhat dot com
@ 2009-06-22 18:47 ` mjw at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: mjw at redhat dot com @ 2009-06-22 18:47 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mjw at redhat dot com 2009-06-22 18:46 -------
I am testing a patch
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |mjw at redhat dot com
|redhat dot com |
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=10305
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-22 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-22 10:43 [Bug translator/10305] New: mark probes fail on prelinked shared library mjw at redhat dot com
2009-06-22 18:47 ` [Bug translator/10305] " mjw at redhat dot com
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).