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

2019-06-19 Thread Leo Yan
Hi all, On Thu, Jun 20, 2019 at 08:54:28AM +0800, Leo Yan wrote: [...] > diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config > index 51dd00f65709..cf5906d667aa 100644 > --- a/tools/perf/Makefile.config > +++ b/tools/perf/Makefile.config > @@ -418,6 +418,26 @@ ifdef CORESIGHT >

[PATCH v2] 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