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 tapsets/11752] New: on ppc, the signal.handle_signal tapset alias needs to be updated


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.


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