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 kprobes/2068] return probe on __switch_to triggers BUG_ON


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


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