Re: perf/jit doesn't cope well with mprotect() to jit containing pages
From: Arnaldo Carvalho de Melo
Date: Fri Jan 27 2017 - 10:47:13 EST
Em Fri, Jan 27, 2017 at 02:07:02PM +0100, Peter Zijlstra escreveu:
> Something like the (compile tested only) below might be sufficient to
> disambiguate things. It would need a corresponding tools/perf patch of
> course, but I'm not too familiar with that code anymore.
I'm working on patch to do feature test, fallback and handling of the
event, etc, will post later.