Re: kprobe support for memory access watchpoints

2005-07-06 Thread Prasanna S Panchamukhi
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
<[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: kprobe support for memory access watchpoints

2005-07-06 Thread Prasanna S Panchamukhi
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
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


kprobe support for memory access watchpoints

2005-07-05 Thread Jeff Carr
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.

Perhaps register_kprobe() could be modified to support this or perhaps
some new function. This would probably be difficult based on how
differently kprobe works vs. how the DR registers work. I thought I
would send an email because you might be doing or thinking something
similar.

Enjoy,
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


kprobe support for memory access watchpoints

2005-07-05 Thread Jeff Carr
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.

Perhaps register_kprobe() could be modified to support this or perhaps
some new function. This would probably be difficult based on how
differently kprobe works vs. how the DR registers work. I thought I
would send an email because you might be doing or thinking something
similar.

Enjoy,
Jeff
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/