Re: [RFC] mmiotrace full patch, preview 2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vegard Nossum
Date: Thursday, March 27, 2008 - 4:13 pm

Hi,

I may of course be wrong, but... Shouldn't the post_kmmio_handler(),
called from the die notifier chain, check for the DR_STEP condition?
This makes sure that the function is not called in the cases where the
source of the debug exception was not a single-stepping event. Though
I guess you'll also have other checks in place to notice that the
interrupt was not the one you were expecting. I guess a little extra
safety won't hurt though?

On Sun, Mar 9, 2008 at 3:40 PM, Pekka Paalanen <pq@iki.fi> wrote:

if (!(condition & DR_STEP))
    return;


Vegard
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] mmiotrace full patch, preview 2, Pekka Paalanen, (Sun Mar 9, 7:40 am)
Re: [RFC] mmiotrace full patch, preview 2, Pekka Paalanen, (Sun Mar 9, 7:46 am)
Re: [RFC] mmiotrace full patch, preview 2, Vegard Nossum, (Thu Mar 27, 4:13 pm)
Re: [RFC] mmiotrace full patch, preview 2, Pekka Paalanen, (Fri Mar 28, 11:24 am)
mmiotrace bug: recursive probe hit, Pekka Paalanen, (Fri Mar 28, 1:25 pm)
Re: mmiotrace bug: recursive probe hit, Pekka Paalanen, (Sun Mar 30, 10:26 am)
Re: mmiotrace bug: recursive probe hit, Pekka Paalanen, (Thu Apr 3, 2:07 pm)
Re: mmiotrace bug: recursive probe hit, Vegard Nossum, (Thu Apr 3, 2:40 pm)
Re: mmiotrace bug: recursive probe hit, Pekka Paalanen, (Fri Apr 4, 6:18 am)
Re: mmiotrace bug: recursive probe hit, Avi Kivity, (Sat Apr 5, 12:36 am)
Re: mmiotrace bug: recursive probe hit, Pekka Enberg, (Sat Apr 5, 12:40 am)
Re: mmiotrace bug: recursive probe hit, Avi Kivity, (Sat Apr 5, 5:39 am)
Re: mmiotrace bug: recursive probe hit, Avi Kivity, (Sat Apr 5, 8:58 am)
Re: mmiotrace bug: recursive probe hit, Pekka Paalanen, (Sun Apr 6, 10:32 am)