This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10065] New: Enable SystemTap translator to create modules for Hardware Breakpoint
- From: "prasad at linux dot vnet dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Apr 2009 11:22:32 -0000
- Subject: [Bug translator/10065] New: Enable SystemTap translator to create modules for Hardware Breakpoint
- Reply-to: sourceware-bugzilla at sourceware dot org
In-kernel interfaces to use Hardware Breakpoint registers are proposed for
inclusion in Linux Kernel through the patchset seen here:
http://lkml.org/lkml/2009/4/7/72.
Hardware Breakpoint registers can trace read/write operations on kernel
variables and can be very useful in debugging data corruption issues. The
infrastructure allows the user to define a callback function invoked through the
HW Breakpoint exception handler (analogous to the kprobe handler routines) and
can typically be used to generate backtraces, data access logs, print messages, etc.
It would be a good addition to SystemTap translator when generation of HW
Breakpoint modules is enabled through its characteristic probe, something like
'probe kernel.data("kernel symbol").write'.
Sample HW Breakpoint module can be found in the patchset (patch 10/11) in the
file samples/hw_breakpoint/data_breakpoint.c
--
Summary: Enable SystemTap translator to create modules for
Hardware Breakpoint
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: prasad at linux dot vnet dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10065
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.