public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/2465] New: possible wrong function.entry address given by systemtap
@ 2006-03-16  9:38 guanglei at cn dot ibm dot com
  2006-03-16 13:33 ` [Bug translator/2465] " fche at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: guanglei at cn dot ibm dot com @ 2006-03-16  9:38 UTC (permalink / raw)
  To: systemtap

See:
http://sourceware.org/bugzilla/show_bug.cgi?id=2453#c8

I know that for x86, kprobe uses the address right after the function prologue,
and kretprobe uses the address of the very beginning of that function.

But should there be some differences with PowerPC since it's a register based
and will have a different method to find the address used by kprobe? Maybe we
can just let both kprobe & kretprobe to use the address given by
kallsyms_lookup_name(function) ?

Sorry if I am wrong with something.

-- 
           Summary: possible wrong function.entry address given by systemtap
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: guanglei at cn dot ibm dot com


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

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

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

end of thread, other threads:[~2006-04-27  2:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-16  9:38 [Bug translator/2465] New: possible wrong function.entry address given by systemtap guanglei at cn dot ibm dot com
2006-03-16 13:33 ` [Bug translator/2465] " fche at redhat dot com
2006-03-21  9:38 ` guanglei at cn dot ibm dot com
2006-03-21 14:30 ` fche at redhat dot com
2006-04-10  3:21 ` guanglei at cn dot ibm dot com
2006-04-26 14:52 ` fche at redhat dot com
2006-04-27  2:38 ` guanglei at cn dot ibm 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).