This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/2465] New: possible wrong function.entry address given by 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]