public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/6477] New: without debuginfo, compiling a process probe script fails silently
@ 2008-05-02 17:15 dsmith at redhat dot com
  2008-05-02 17:53 ` [Bug translator/6477] " fche at redhat dot com
  2008-11-28 15:51 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2008-05-02 17:15 UTC (permalink / raw)
  To: systemtap

Without kernel debuginfo installed, observe the following:

# stap -vvv -e 'probe process("/bin/program_that_does_not_exist").death { }'
SystemTap translator/driver (version 0.7/0.131 git branch work, commit 8c392b1a
+ changes)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stapFUASeP"
Searched '/usr/local/share/systemtap/tapset/i686/*.stp', found 1
Searched '/usr/local/share/systemtap/tapset/*.stp', found 38
Pass 1: parsed user script and 39 library script(s) in 420usr/20sys/449real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 2 embed(s), 0 global(s) in
10usr/0sys/8real ms.
probe_1063 locks nothing
Pass 3: translated to C into
"/tmp/stapFUASeP/stap_30b9314753167af7ce6a944b8c61ae71_431.c" in
0usr/10sys/3real ms.
Pass 3: translation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapFUASeP

Even if this shouldn't compile, a better error message (or any for that matter)
should be emitted.

(This bug might be related to bug #4311)

-- 
           Summary: without debuginfo, compiling a process probe script
                    fails silently
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: dsmith at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6477

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/6477] without debuginfo, compiling a process probe script fails silently
  2008-05-02 17:15 [Bug translator/6477] New: without debuginfo, compiling a process probe script fails silently dsmith at redhat dot com
@ 2008-05-02 17:53 ` fche at redhat dot com
  2008-11-28 15:51 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2008-05-02 17:53 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-05-02 16:15 -------
Chances are the problem is in the code associated with
collecting symbol table data.  I'm already working on the
area, and will probably end up borrowing code from jkenisto's
dwarfless branch (looking for System.map?) order to do
the deed.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6477

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/6477] without debuginfo, compiling a process probe script fails silently
  2008-05-02 17:15 [Bug translator/6477] New: without debuginfo, compiling a process probe script fails silently dsmith at redhat dot com
  2008-05-02 17:53 ` [Bug translator/6477] " fche at redhat dot com
@ 2008-11-28 15:51 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2008-11-28 15:51 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-11-28 15:50 -------
fixed in commit 84680f7:

stap -e 'probe process("/bin/program_that_does_not_exist").end { }'    
WARNING: side-effect-free probe 'probe_1383': keyword at <input>:1:1
 source: probe process("/bin/program_that_does_not_exist").end { }
         ^
WARNING: missing unwind/symbol data for module '/bin/program_that_does_not_exist'


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=6477

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2008-11-28 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-02 17:15 [Bug translator/6477] New: without debuginfo, compiling a process probe script fails silently dsmith at redhat dot com
2008-05-02 17:53 ` [Bug translator/6477] " fche at redhat dot com
2008-11-28 15:51 ` fche 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).