This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/10065] New: Enable SystemTap translator to create modules for Hardware Breakpoint


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]