Re: [RFC PATCH] perf, bpf: Retain kernel executable code in memory to aid Intel PT tracing

From: Alexei Starovoitov
Date: Mon Feb 11 2019 - 03:18:48 EST


On Mon, Feb 11, 2019 at 09:54:01AM +0200, Adrian Hunter wrote:
>
> Which is not really a real use-case.
..
> > perf analysis with PT becomes inaccurate and main goal
> > of retaining accurate instruction info is not achieved.
>
> For the majority of real use-cases, yes it is.

In our fleet not a single server is using Intel PT, yet you're
proposing to penalize all of them with shrinker-based JIT freeing?
There is no negotiation here.
NACK