Re: [PATCH v3] perf: map pages in advance

From: Lorenzo Stoakes
Date: Fri Dec 20 2024 - 04:32:08 EST


On Thu, Dec 19, 2024 at 01:17:44PM -0800, Chen, Zide wrote:

> With this patch, it seems perf tool has some problems in capturing the
> kernel data with Intel PT.
>
> Running the following commands, the size of perf.data is very small, and
> perf script can't find any valid records.
>
> perf record -e intel_pt//u -- /bin/ls
> perf script --insn-trace
>
>

Hi,

I'm on leave (and should really go back to relaxing :>), returning on 2nd
Jan so can't really dig into this.

But I tried it on my intel box and it 'works on my machine' with and
without patch with commands provided, so I'm not sure this is actually a
product of this change (which shouldn't impact this).

I'm afraid I can't really reply any further until the new year, however (I
really shouldn't even be replying here ;).

Happy holidays, Lorenzo