public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/3630] New: kernet.statement broken on x86_64
@ 2006-12-01 17:39 hunt at redhat dot com
  2006-12-01 21:15 ` [Bug translator/3630] " fche at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hunt at redhat dot com @ 2006-12-01 17:39 UTC (permalink / raw)
  To: systemtap

this is testsuite/systemtap.base/probefunc.exp

It generates the follwoing script on my system:
    global funcname
    probe kernel.statement(0xffffffff8028854c) {
        funcname = probefunc()
    }
    probe begin {
        log("systemtap starting probe")
    }
    probe end {
        log("systemtap ending probe")
        printf("%s\n", funcname)
    }

WHen it tries to compile that, it gets the following error:
WARNING: cannot find kernel debuginfo
stap: tapsets.cxx:667: void
dwflpp::query_cu_containing_global_address(Dwarf_Addr, void*): Assertion `bias
== module_bias' failed.
Aborted

-- 
           Summary: kernet.statement broken on x86_64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: hunt at redhat dot com


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

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

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

* [Bug translator/3630] kernet.statement broken on x86_64
  2006-12-01 17:39 [Bug translator/3630] New: kernet.statement broken on x86_64 hunt at redhat dot com
@ 2006-12-01 21:15 ` fche at redhat dot com
  2006-12-01 21:22 ` fche at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2006-12-01 21:15 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2006-12-01 17:35 -------
One problem here is that elfutils' dwfl_addrmodule() function is
being used to request a mapping of a kernel run-time address to
the kernel dwfl module, and instead it is returning 0.  Roland,
any advice on this?

It turns out that we probably should not use this routine at all
anyway, since for the kernel, we can look it up by name, and
for modules, incoming addresses are text-offset and not absolute.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roland at redhat dot com


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

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

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

* [Bug translator/3630] kernet.statement broken on x86_64
  2006-12-01 17:39 [Bug translator/3630] New: kernet.statement broken on x86_64 hunt at redhat dot com
  2006-12-01 21:15 ` [Bug translator/3630] " fche at redhat dot com
@ 2006-12-01 21:22 ` fche at redhat dot com
  2006-12-06 19:11 ` fche at redhat dot com
  2006-12-06 22:34 ` fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2006-12-01 21:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2006-12-01 17:39 -------
Note that loc2c-test works, since it uses dwfl_addrdie() to look up
the address.

-- 


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

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

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

* [Bug translator/3630] kernet.statement broken on x86_64
  2006-12-01 17:39 [Bug translator/3630] New: kernet.statement broken on x86_64 hunt at redhat dot com
  2006-12-01 21:15 ` [Bug translator/3630] " fche at redhat dot com
  2006-12-01 21:22 ` fche at redhat dot com
@ 2006-12-06 19:11 ` fche at redhat dot com
  2006-12-06 22:34 ` fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2006-12-06 19:11 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-06 18:41:30
               date|                            |


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

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

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

* [Bug translator/3630] kernet.statement broken on x86_64
  2006-12-01 17:39 [Bug translator/3630] New: kernet.statement broken on x86_64 hunt at redhat dot com
                   ` (2 preceding siblings ...)
  2006-12-06 19:11 ` fche at redhat dot com
@ 2006-12-06 22:34 ` fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2006-12-06 22:34 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |fche at redhat dot com
                   |redhat dot com              |


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

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

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

end of thread, other threads:[~2006-12-06 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-01 17:39 [Bug translator/3630] New: kernet.statement broken on x86_64 hunt at redhat dot com
2006-12-01 21:15 ` [Bug translator/3630] " fche at redhat dot com
2006-12-01 21:22 ` fche at redhat dot com
2006-12-06 19:11 ` fche at redhat dot com
2006-12-06 22:34 ` 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).