Re: [PATCH v3] perf cs-etm: Improve completeness for kernel address space

2019-07-08 Thread Leo Yan
Hi Mathieu, On Mon, Jul 08, 2019 at 11:33:59AM -0600, Mathieu Poirier wrote: > On Wed, 19 Jun 2019 at 21:45, Leo Yan wrote: > > > > Arm and arm64 architecture reserve some memory regions prior to the > > symbol '_stext' and these memory regions later will be used by device > > module and BPF

Re: [PATCH v3] perf cs-etm: Improve completeness for kernel address space

2019-07-08 Thread Mathieu Poirier
On Wed, 19 Jun 2019 at 21:45, Leo Yan wrote: > > Arm and arm64 architecture reserve some memory regions prior to the > symbol '_stext' and these memory regions later will be used by device > module and BPF jit. The current code misses to consider these memory > regions thus any address in the

[PATCH v3] perf cs-etm: Improve completeness for kernel address space

2019-06-19 Thread Leo Yan
Arm and arm64 architecture reserve some memory regions prior to the symbol '_stext' and these memory regions later will be used by device module and BPF jit. The current code misses to consider these memory regions thus any address in the regions will be taken as user space mode, but perf cannot