lkml.org 
[lkml]   [2007]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Kwatch: kernel watchpoints using CPU debug registers
    On Wed, Feb 21, 2007 at 03:35:13PM -0500, Alan Stern wrote:
    > Going back to something you mentioned earlier...
    >
    [...]
    > On Fri, 9 Feb 2007, Roland McGrath wrote:
    > There are two things I am uncertain about: vm86 mode and kprobes. I don't
    > know anything about how either of them works. Judging from the current
    > code, nothing much should be needed -- debug traps in vm86 mode are
    > handled by calling handle_vm86_trap(), and kprobes puts itself at the
    > start of the notify_die() chain so it can handle single-step traps.
    > Eventually it will be necessary to check with someone who really
    > understands the issues.

    Yes, Kprobes needs to get notified first to handle single-step traps. So kwatch
    getting notified secound should be fine.

    Thanks
    Prasanna
    --
    Prasanna S.P.
    Linux Technology Center
    India Software Labs, IBM Bangalore
    Email: prasanna@in.ibm.com
    Ph: 91-80-41776329
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-02-22 12:45    [W:2.725 / U:0.400 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site