perf: Add support for hardware breakpoint address masks
Bug #1117548 reported by
Kim Naru
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AMD |
Won't Fix
|
Medium
|
Kim Naru | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
James M. Leddy |
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
which will count writes to [0x1000 ~ 0x1010)
This patch is upstream but not accepted yet:
Changed in amd: | |
importance: | Undecided → Medium |
assignee: | nobody → Kim Naru (kim-naru) |
Changed in linux (Ubuntu): | |
assignee: | nobody → James M. Leddy (jm-leddy) |
Changed in amd: | |
status: | Incomplete → Won't Fix |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
Is there any information if these patches have hit a maintainer's tree and if they will land in the v3.9 merge window? We'd prefer to pick these up from a more official upstream repo if possible. Thanks.