Skip to content

RFC Hardware Breakpoint interfaces - v4

K.Prasad lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 9 patches 5 repliesIn review

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC Patch 0/9] Hardware Breakpoint interfaces - v4

Hi All,
Please find the new set of patches that introduce kernel
interfaces to use Hardware Breakpoint registers and an implementation for x86 (and x86_64) architecture, now labelled as Version IV.

The patches are based on 2.6.29-rc2 and have been tested to work fine on x86 architecture. Some of the major changes over the previous version of patches include:
i) A sample kernel module that uses Data Hardware breakpoint over a kernel variable to monitor write operations. See samples/hw_breakpoint/data_breakpoint.c.
ii) Changes in the register_kernel_hw_breakpoint() interface to accept only one parameter - pointer to a 'hw_breakpoint' structure which will contain all relevant data members.

Attempts to convert KGDB to use the proposed interfaces is stalled due to an issue with KGDB (detailed here: http://tinyurl.com/aa9agy) and any help from its maintainers will be gladly welcomed.

Pending any serious issues/comments, the next revision of patches will be cleaved of the RFC tag and will be requested for inclusion.

Thanks,
K.Prasad