mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Prasanna S Panchamukhi <prasanna@in.ibm.com>
To: Jeff Carr <jcarr@linuxmachines.com>
Cc: linux-kernel@vger.kernel.org, Hien Nguyen <hien@us.ibm.com>,
	Jim Keniston <jkenisto@us.ibm.com>
Subject: Re: kprobe support for memory access watchpoints
Date: Wed, 6 Jul 2005 11:29:35 +0530	[thread overview]
Message-ID: <20050706055935.GB22093@in.ibm.com> (raw)
In-Reply-To: <42CAFF09.4000406@linuxmachines.com>

Jeff,

> I was wondering if there are plans to support a method to register
> watchpoints for memory data access with kprobe. On x86, it's possible to
> watch for read/write access to arbitrary memory locations via DR memory
> registers.

Here are couple of patches providing debug register allocation
mechanism and kernel API to register watchpoints. These patches were
posted and reviewed on lkml some time back, Please see the URL
below for details.

http://seclists.org/lists/linux-kernel/2004/Oct/4730.html
http://seclists.org/lists/linux-kernel/2004/Oct/4729.html


Thanks
Prasanna
-- 

Prasanna S Panchamukhi
Linux Technology Center
India Software Labs, IBM Bangalore
Ph: 91-80-25044636
<prasanna@in.ibm.com>

  reply	other threads:[~2005-07-06  7:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 16:20 A correct method to use the x86 breakpoint registers (DR0-7) Jeff Carr
2005-07-05 21:43 ` kprobe support for memory access watchpoints Jeff Carr
2005-07-06  5:59   ` Prasanna S Panchamukhi [this message]
2005-07-07  4:58 ` A correct method to use the x86 breakpoint registers (DR0-7) Jeff Carr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050706055935.GB22093@in.ibm.com \
    --to=prasanna@in.ibm.com \
    --cc=hien@us.ibm.com \
    --cc=jcarr@linuxmachines.com \
    --cc=jkenisto@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®