perf: Support AMD range breakpoints
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8arch/ arch/ arch/ +3 more | +47 | 3 replies | |
| 2/4 | perf tools: allow user to specify hardware breakpoint bp_lentools/ tools/ tools/ +2 more | +42 | 5 replies | |
| 3/4 | perf tools: add hardware breakpoint bp_len test casestools/ | +58 | 2 replies | |
| 4/4 | perf/x86: Remove get_hbp_len and replace with bp_lenarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] perf: Support AMD range breakpoints
Hi,
I've made it wait too much so I'm posting that for review now. This implements range breakpoints on some AMD machine by extending the length field.
Any comment?
Thanks.
Jacob Shin (4):
perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8 perf tools: allow user to specify hardware breakpoint bp_len perf tools: add hardware breakpoint bp_len test cases perf/x86: Remove get_hbp_len and replace with bp_len
arch/x86/include/asm/cpufeature.h | 2 ++ arch/x86/include/asm/debugreg.h | 5 +++ arch/x86/include/asm/hw_breakpoint.h | 1 + arch/x86/include/uapi/asm/msr-index.h | 4 +++ arch/x86/kernel/cpu/amd.c | 19 +++++++++++ arch/x86/kernel/hw_breakpoint.c | 45 ++++++++++--------------- tools/perf/Documentation/perf-record.txt | 7 ++-- tools/perf/tests/parse-events.c | 58 ++++++++++++++++++++++++++++++++ tools/perf/util/parse-events.c | 21 ++++++------ tools/perf/util/parse-events.h | 2 +- tools/perf/util/parse-events.l | 1 + tools/perf/util/parse-events.y | 26 ++++++++++++-- 12 files changed, 148 insertions(+), 43 deletions(-)
Signature · 1 line
1.8.3.1