public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10065] New: Enable SystemTap translator to create modules for Hardware Breakpoint
@ 2009-04-13 11:22 prasad at linux dot vnet dot ibm dot com
  2009-04-13 13:33 ` [Bug translator/10065] " fche at redhat dot com
  2010-04-30 18:00 ` jistone at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: prasad at linux dot vnet dot ibm dot com @ 2009-04-13 11:22 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/10065] Enable SystemTap translator to create modules for Hardware Breakpoint
  2009-04-13 11:22 [Bug translator/10065] New: Enable SystemTap translator to create modules for Hardware Breakpoint prasad at linux dot vnet dot ibm dot com
@ 2009-04-13 13:33 ` fche at redhat dot com
  2010-04-30 18:00 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2009-04-13 13:33 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2009-04-13 13:33 -------
*** Bug 1324 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/10065] Enable SystemTap translator to create modules for Hardware Breakpoint
  2009-04-13 11:22 [Bug translator/10065] New: Enable SystemTap translator to create modules for Hardware Breakpoint prasad at linux dot vnet dot ibm dot com
  2009-04-13 13:33 ` [Bug translator/10065] " fche at redhat dot com
@ 2010-04-30 18:00 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2010-04-30 18:00 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jistone at redhat dot com  2010-04-28 22:24 -------
Prerna Saxena added this for x86 and s390 in systemtap 1.2.  We can continue
adding other architectures as the kernel gains support.

Commits:
9103686 Hardware Breakpoints for x86 / x86_64, based on mainline kernel
dd22525 Hardware Breakpoints for x86 / x86_64, based on mainline kernel.
[Changes : Part 2]
bb0a4e1 Translator enablement of Hardware breakpoints for s390


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-28 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-13 11:22 [Bug translator/10065] New: Enable SystemTap translator to create modules for Hardware Breakpoint prasad at linux dot vnet dot ibm dot com
2009-04-13 13:33 ` [Bug translator/10065] " fche at redhat dot com
2010-04-30 18:00 ` jistone at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).