← Back to team overview

kernel-packages team mailing list archive

[Bug 1117548] Re: perf: Add support for hardware breakpoint address masks

 

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => James M. Leddy (jm-leddy)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1117548

Title:
  perf: Add support for hardware breakpoint address masks

Status in amd:
  Incomplete
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  The following patchset adds address masks to existing perf hardware
  breakpoint mechanism to allow trapping on an address range (currently
  only single address) on supported architectures.

  perf uapi is updated, x86 AMD implementation (for AMD Family 16h and
  beyond) is provided, and perf tool has been extended to do:

    $ perf stat -e mem:0x1000:w:0xf a.out
                                ^^^
                                "don't care" bit mask

    which will count writes to [0x1000 ~ 0x1010)

  
  This patch is upstream but not accepted yet:

  https://lkml.org/lkml/2012/12/12/261

To manage notifications about this bug go to:
https://bugs.launchpad.net/amd/+bug/1117548/+subscriptions