public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/3423] New: src/testsuite/systemtap.base/probefunc.exp fails on IA64
@ 2006-10-25  3:42 thang dot p dot nguyen at intel dot com
  2006-10-25  3:48 ` [Bug tapsets/3423] " fche at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thang dot p dot nguyen at intel dot com @ 2006-10-25  3:42 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

The probefunc.exp fails on printing the probe name for a statement probe. 

The probe below is supposed to print the probe name “scheduler_tick” on IA64
(2.6.17-1.2519.4.21.el5, ia64 GNU/Linux), but an empty string is printed 
instead.

probe kernel.statement(0xa000000100068e40){
   printf("%s\n", probefunc())
}

There seems to be a bug in probefunc() in tapset/context.stp.  The comparison 
(REG_IP(CONTEXT->regs) >= PAGE_OFFSET) is not valid in this particular case 
since the values below were observed:

REG_IP(CONTEXT->regs)  = 0xa000000100068e40   
PAGE_OFFSET=0xe000000000000000

-- 
           Summary: src/testsuite/systemtap.base/probefunc.exp fails on IA64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: thang dot p dot nguyen at intel dot com
                CC: bibo dot mao at intel dot com


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

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

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

end of thread, other threads:[~2006-10-25  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-25  3:42 [Bug tapsets/3423] New: src/testsuite/systemtap.base/probefunc.exp fails on IA64 thang dot p dot nguyen at intel dot com
2006-10-25  3:48 ` [Bug tapsets/3423] " fche at redhat dot com
2006-10-25  3:53 ` bibo dot mao at intel dot com
2006-10-25  6:54 ` bibo dot mao at intel 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).