Re: [PATCH v2] perf parse-events: default data breakpoints to any size on RISC-V

From: Namhyung Kim

Date: Thu Nov 19 2026 - 22:54:12 EST


On Wed, 11 Nov 2026 10:26:49 +0800, Rui Qi wrote:
> When the length of a data breakpoint is not specified on the command
> line, perf defaults it to HW_BREAKPOINT_LEN_4:
>
> $ perf record -e mem:0x30020:w ./prog
>
> That assumes the length describes a byte range that is compared
> against the address of the access, which is how the x86 debug
> registers and most other architectures work.
>
> [...]

Applied to perf-tools-next, thanks!

Best regards
Namhyung