Re: [PATCH v3 1/5] hw_breakpoint: Add step_needed event attribute

2017-08-01 Thread Peter Zijlstra
On Mon, Jul 31, 2017 at 04:10:29PM +0530, Pratyush Anand wrote: > diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h > index 24a635887f28..7da951f94b47 100644 > --- a/include/linux/perf_event.h > +++ b/include/linux/perf_event.h > @@ -233,6 +233,12 @@ struct hw_perf_event { >

[PATCH v3 1/5] hw_breakpoint: Add step_needed event attribute

2017-07-31 Thread Pratyush Anand
Architecture like ARM64 currently allows to use default hw breakpoint single step handler only to perf. However, some other users like few systemtap tests or kernel test in samples/hw_breakpoint/data_breakpoint.c can also work with default step handler implementation. Therefore, this patch introdu