Re: [PATCH v3] perf test: S390 does not support watchpoints in test 22

From: Arnaldo Carvalho de Melo
Date: Fri Sep 28 2018 - 10:45:46 EST


Em Fri, Sep 28, 2018 at 04:43:06PM +0530, Ravi Bangoria escreveu:
>
>
> On 09/28/2018 04:23 PM, Thomas Richter wrote:
> > S390 does not support the perf_event_open system call for
> > attribute type PERF_TYPE_BREAKPOINT. This results in test
> > failure for test 22:
> >
> > [root@s8360046 perf]# ./perf test 22
> > 22: Watchpoint :
> > 22.1: Read Only Watchpoint : FAILED!
> > 22.2: Write Only Watchpoint : FAILED!
> > 22.3: Read / Write Watchpoint : FAILED!
> > 22.4: Modify Watchpoint : FAILED!
> > [root@s8360046 perf]#
> >
> > Add s390 support to avoid these tests being executed on
> > s390 platform:
> >
> > [root@s8360046 perf]# ./perf test 22
> > [root@s8360046 perf]# ./perf test -v 22
> > 22: Watchpoint : Disabled
> > [root@s8360046 perf]#
> >
> > Signed-off-by: Thomas Richter <tmricht@xxxxxxxxxxxxx>
>
> Acked-by: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxx>

Thanks, applied.

- Arnaldo