Re: [PATCH] perf test: Add watchpoint test
From: Arnaldo Carvalho de Melo
Date: Mon Sep 10 2018 - 13:31:27 EST
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:
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....