Re: [PATCH 2/3] perf tools: allow user to specify hardware breakpointbp_len

From: H. Peter Anvin
Date: Sun Apr 28 2013 - 01:51:34 EST


On 04/27/2013 09:58 AM, Oleg Nesterov wrote:
>
> Stupid question... So X86_FEATURE_BPEXT only works for r/w? I mean, it
> doesn't allow to specify the mask for an execute breakpoint?
>

x86 execute breakpoints in general are only a single byte, which has to
be the first byte of the instruction.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/