This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2068] return probe on __switch_to triggers BUG_ON
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 19 Dec 2005 23:41:58 -0000
- Subject: [Bug kprobes/2068] return probe on __switch_to triggers BUG_ON
- References: <20051219195313.2068.jkenisto@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.