Re: [PATCH] perf test: Add watchpoint test
From: Ravi Bangoria
Date: Tue Sep 11 2018 - 23:08:58 EST
On 09/10/2018 11:01 PM, Arnaldo Carvalho de Melo wrote:
> Em Mon, Sep 10, 2018 at 11:18:30AM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Mon, Sep 10, 2018 at 10:47:54AM -0300, Arnaldo Carvalho de Melo escreveu:
>>> Em Mon, Sep 10, 2018 at 12:31:54PM +0200, Jiri Olsa escreveu:
>>>> On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote:
>>>>> Ex on powerpc:
>>>>> $ sudo ./perf test 22
>>>>> 22: Watchpoint :
>>>>> 22.1: Read Only Watchpoint : Ok
>>>>> 22.2: Write Only Watchpoint : Ok
>>>>> 22.3: Read / Write Watchpoint : Ok
>>>>> 22.4: Modify Watchpoint : Ok
>
>>>> cool, thanks!
>
>>>> Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
>
>>> Thanks, applied.
>
> Oops, fails when cross-building it to mips, I'll try to fix after lunch:
Sorry for bit late reply. Will send v2 with the fix.
Thanks
Ravi
>
> 18 109.48 debian:experimental : Ok gcc (Debian 8.2.0-4) 8.2.0
> 19 42.66 debian:experimental-x-arm64 : Ok aarch64-linux-gnu-gcc (Debian 8.1.0-12) 8.1.0
> 20 22.33 debian:experimental-x-mips : FAIL mips-linux-gnu-gcc (Debian 8.1.0-12) 8.1.0
> 21 20.05 debian:experimental-x-mips64 : FAIL mips64-linux-gnuabi64-gcc (Debian 8.1.0-12) 8.1.0
> 22 22.85 debian:experimental-x-mipsel : FAIL mipsel-linux-gnu-gcc (Debian 8.1.0-12) 8.1.0
>
> CC /tmp/build/perf/tests/bp_account.o
> CC /tmp/build/perf/tests/wp.o
> tests/wp.c:5:10: fatal error: arch-tests.h: No such file or directory
> #include "arch-tests.h"
> ^~~~~~~~~~~~~~
> compilation terminated.
> mv: cannot stat '/tmp/build/perf/tests/.wp.o.tmp': No such file or directory
> make[4]: *** [/git/linux/tools/build/Makefile.build:97: /tmp/build/perf/tests/wp.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> CC /tmp/build/perf/util/record.o
> CC /tmp/build/perf/util/srcline.o
> make[3]: *** [/git/linux/tools/build/Makefile.build:139: tests] Error 2
> make[2]: *** [Makefile.perf:507: /tmp/build/perf/perf-in.o] Error 2
> make[2]: *** Waiting for unfinished jobs....
>