This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/11752] New: on ppc, the signal.handle_signal tapset alias needs to be updated
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 24 Jun 2010 18:47:35 -0000
- Subject: [Bug tapsets/11752] New: on ppc, the signal.handle_signal tapset alias needs to be updated
- Reply-to: sourceware-bugzilla at sourceware dot org
On newer kernels (>=2.6.23), the signal.handle_signal tapset alias doesn't work
since the handle_signal() kernel function has been removed.
Instead, there are now 3 functions that will need to be probed. Here's the
current code in arch/powerpc/kernel/signal.c(do_signal_pending):
if (is32) {
if (ka.sa.sa_flags & SA_SIGINFO)
ret = handle_rt_signal32(signr, &ka, &info, oldset,
regs);
else
ret = handle_signal32(signr, &ka, &info, oldset,
regs);
} else {
ret = handle_rt_signal64(signr, &ka, &info, oldset, regs);
}
Those 3 functions (handle_rt_signal32/handle_signal32/handle_rt_signal64) will
need to be added to the signal.handle_signal alias.
--
Summary: on ppc, the signal.handle_signal tapset alias needs to
be updated
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
GCC host triplet: ppc
http://sourceware.org/bugzilla/show_bug.cgi?id=11752
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.