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 kprobes/2408] [RHEL4 U4] Backport Kprobes fixes from mainline


------- Additional Comments From anil dot s dot keshavamurthy at intel dot com  2006-03-11 02:08 -------
(In reply to comment #12)
> (In reply to comment #11)
> > Now includes Prasanna's recent kprobes fault handler code.
> Do we have a test for this?
> I tested the new patch on i686 SMP - it completes all Kprobes tests and pass-
5
> SystemTap tests without trouble.

Josh, thanks for testing. For kprobe fault handler testing you can run the 
below script. Basically this tries to access userspace 
address from kprobe prehandler.

----------------------------- 
probe syscall.*, syscall.*.return {
        if (pid() == target()) {
                if (returnp)
                        printf("%d\n", returnval())
                else
                        printf("%s (%s) = ", name, argstr)
        }
}
-------------------------------

-- 


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

------- 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]