This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2408] [RHEL4 U4] Backport Kprobes fixes from mainline
- From: "anil dot s dot keshavamurthy at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 3 Mar 2006 19:42:52 -0000
- Subject: [Bug kprobes/2408] [RHEL4 U4] Backport Kprobes fixes from mainline
- References: <20060301202710.2408.anil.s.keshavamurthy@intel.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From anil dot s dot keshavamurthy at intel dot com 2006-03-03 19:42 -------
Created an attachment (id=900)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=900&action=view)
Single patch to address all the Kprobes backport issues
Changes since previous attachment are:
1) Added the below check in kprobes exception handler code for all
arch.(suggested by Ananth/Yanmin)
if (args->regs && user_mode(args->regs))
return ret;
2) Fixed __kprobes macro which is not required for RHEL4(Bibo)
3) Added return 0; from arch_prepare_kprobe (suggested by Josh)
4)Back ported one more Fix of Ananth i,e Fix deadlock in function return probes
5) Removed trailing white space
Pending...Waiting for Prasanna's kprobe fault handler code to be merged.
Change summary:
------------------
arch/i386/kernel/kprobes.c | 50 ++++---
arch/i386/kernel/process.c | 8 -
arch/ia64/kernel/jprobes.S | 27 ++++
arch/ia64/kernel/kprobes.c | 75 ++++++++++-
arch/ia64/kernel/process.c | 7 -
arch/ppc64/kernel/kprobes.c | 28 +++-
arch/ppc64/kernel/process.c | 7 -
arch/sparc64/kernel/kprobes.c | 4
arch/x86_64/kernel/kprobes.c | 133 ++------------------
arch/x86_64/kernel/process.c | 8 -
include/asm-i386/kprobes.h | 14 --
include/asm-ia64/kprobes.h | 23 +--
include/asm-ppc64/kprobes.h | 12 -
include/asm-sparc64/kprobes.h | 9 -
include/asm-x86_64/kprobes.h | 6
include/linux/kprobes.h | 8 -
include/linux/list.h | 21 +++
kernel/kprobes.c | 274
++++++++++++++++++++++++++++++++----------
kernel/module.c | 3
kernel/sched.c | 9 +
20 files changed, 431 insertions(+), 295 deletions(-)
TBD before posting the patch to RedHat:
------------------------------------
1) Delete changes related to sparc64.
2) Include Prasanna's final Kprobes fault handler code.
3) Refresh the patch against latest RH kernel version 2.6.9-34?
Thanks,
Anil
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #897 is|0 |1
obsolete| |
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.