Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Prerna Saxena <prerna <at> linux.vnet.ibm.com>
Subject: [RFC] Hardware Breakpoint support for systemtap translator
Newsgroups: gmane.linux.systemtap
Date: Friday 24th July 2009 11:25:16 UTC (over 8 years ago)
Hi,
The attached set patches enable systemtap translator to probe kernel 
hardware breakpoints on x86.
It introduces the following language constructs :

1. probe kernel.data(ADDRESS).write     {....}   : To probe writes at 
the given address
2. probe kernel.data(ADDRESS).rw         {....}   : To probe read & 
write access to the given address.
3. probe kernel.data("SYMBOL").write   {....}
4. probe kernel.data("SYMBOL").rw       {....}   : Similar to 1,2, but 
using a symbol name as argument.

These are agnostic to dwarf/debuginfo and depend on the hardware 
breakpoint infrastructure for resolving symbols.

Things that remain to be done :
1. Translator support for probing hardware breakpoints on other 
architectures (ppc/s390 etc)
2. Implementation of userspace hardware breakpoints.

I'm still testing it...Looking for comments and feedback :-)

-- 
Prerna Saxena

Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
 
CD: 4ms