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/7030] signal tapset may be referring to inline functions.


------- Additional Comments From prasad at linux dot vnet dot ibm dot com  2008-11-18 09:51 -------
The behaviour described below can be attributed to the fact that probe 
_signal.send.part1 and probe _signal.send.part4 which respectively point to the 
kernel functions __group_send_sig_info() and specific_send_sig_info() have been 
inlined.

The sudden inlining of these funtions could be the result of changes made to 
these functions through commit 4cd4b6d4e0372075f846feb85aea016cbdbfec4c that 
made them a mere wrapper over send_signal(). Following this change, and due to 
the fact that the wrapper functions are being inlined by the compiler, we shall 
point these probe aliases directly to send_signal() with the appropriate names 
and function parameters. The probe aliases are restricted to kernel versions 
newer than 2.6.25.

On application of the attached patch, the script sig_by_pid.stp is found to 
work fine on the Fedora kernel 2.6.27.5-101.fc10.i686. It is pending testing on 
a kernel older than 2.6.25 though. Requesting comments, if any.


-- 


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

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