Re: [BUG REPORT]: ARM64: perf: System hung in perf test

From: Will Deacon
Date: Mon Dec 21 2015 - 09:01:32 EST


On Mon, Dec 21, 2015 at 08:56:03PM +0800, Wangnan (F) wrote:
> System hung can be reproduced on qemu and real hardware using:
>
> # perf test -v signal
>
> If qemu is started with '-smp 1', system hung. In real hardware and in
> qemu with smp > 1, the result is:

That sounds like a qemu issue...

> # /perf test -v signal
> 17: Test breakpoint overflow signal handler :
> --- start ---
> test child forked, pid 792
> count1 11, count2 11, overflow 11
> failed: RF EFLAG recursion issue detected
> failed: wrong overflow hit
> failed: wrong count for bp2
> test child finished with -1
> ---- end ----
> Test breakpoint overflow signal handler: FAILED!

... and this sounds like the perf tool expecting to single-step over
signal handlers, whereas (on arm64) we deliberately single-step into
them, so you can run into a loop for this case.

Will
--
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/