[Bug kprobes/2068] return probe on __switch_to triggers BUG_ON

jkenisto at us dot ibm dot com sourceware-bugzilla@sourceware.org
Tue Dec 20 07:31:00 GMT 2005


------- Additional Comments From jkenisto at us dot ibm dot com  2005-12-19 23:41 -------
My previous analysis is incorrect.  First of all, return probes on __switch_to()
seem to work fine in the kprobes and SystemTap tests that I've run.   

Second, as Roland pointed out even before I created this PR, the stack switch
happens before __switch_to() is called.  So the value of current is the same
(i.e., the same as next_p) on both entry and return, and the same hash list is
used both times.

Maybe Josh can provide a repeat-by script that demonstrates the problem. 
Otherwise, I'll change this to WORKSFORME.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joshua dot i dot stone at
                   |                            |intel dot com
             Status|NEW                         |ASSIGNED
           Priority|P1                          |P2


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list