Joseph Koshy d0d0192f83 Correct a callchain capture bug on the i386.
On the i386 architecture, the processor only saves the current value
of `%esp' on stack if a privilege switch is necessary when entering
the interrupt handler.   Thus, `frame->tf_esp' is only valid for
an entry from user mode.  For interrupts taken in kernel mode, we
need to determine the top-of-stack for the interrupted kernel
procedure by adding the appropriate offset to the current frame
pointer.

Reported by:	kris, Fabien Thomas
Tested by:	Fabien Thomas <fabien.thomas at netasq dot com>
2008-09-15 06:47:52 +00:00
..
2008-09-12 18:15:12 +00:00
2007-08-04 17:43:11 +00:00
2008-08-14 02:43:18 +00:00
2008-01-18 16:34:18 +00:00
2008-09-09 16:21:25 +00:00
2008-07-26 00:01:19 +00:00
2008-08-27 18:47:24 +00:00
2007-10-12 06:03:46 +00:00
2008-08-28 22:28:28 +00:00
2008-07-11 18:26:12 +00:00
2007-03-21 03:42:51 +00:00
2008-09-07 04:35:04 +00:00
2008-08-08 13:43:56 +00:00
2008-05-12 00:15:30 +00:00
2008-05-12 00:15:30 +00:00
2007-10-12 06:03:46 +00:00
2008-04-10 01:25:09 +00:00
2008-08-22 18:42:18 +00:00
2008-08-29 12:23:51 +00:00
2007-07-05 06:51:49 +00:00
2008-01-21 09:51:28 +00:00
2008-06-17 05:48:42 +00:00
2008-04-26 14:13:48 +00:00
2008-08-26 10:41:49 +00:00
2008-02-12 08:58:26 +00:00
2007-03-21 03:42:51 +00:00
2007-12-05 19:32:59 +00:00
2008-08-25 05:20:17 +00:00
2008-08-27 05:39:44 +00:00