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

2019-06-25 Thread Mathieu Poirier
On Mon, 24 Jun 2019 at 13:00, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jun 20, 2019 at 08:58:29AM +0800, Leo Yan escreveu: > > Hi Mathieu, > > > > On Wed, Jun 19, 2019 at 11:49:44AM -0600, Mathieu Poirier wrote: > > > > [...] > > > > > > diff --git a/tools/perf/Makefile.config b/tools/perf/Make

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

2019-06-24 Thread Leo Yan
Hi Arnaldo, On Mon, Jun 24, 2019 at 04:00:09PM -0300, Arnaldo Carvalho de Melo wrote: [...] > > > > diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c > > > > index 0c7776b51045..ae831f836c70 100644 > > > > --- a/tools/perf/util/cs-etm.c > > > > +++ b/tools/perf/util/cs-etm.c > > >

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

2019-06-24 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 20, 2019 at 08:58:29AM +0800, Leo Yan escreveu: > Hi Mathieu, > > On Wed, Jun 19, 2019 at 11:49:44AM -0600, Mathieu Poirier wrote: > > [...] > > > > diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config > > > index 51dd00f65709..4776c2c1fb6d 100644 > > > --- a/tools/pe

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

2019-06-19 Thread Leo Yan
Hi Mathieu, On Wed, Jun 19, 2019 at 11:49:44AM -0600, Mathieu Poirier wrote: [...] > > diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config > > index 51dd00f65709..4776c2c1fb6d 100644 > > --- a/tools/perf/Makefile.config > > +++ b/tools/perf/Makefile.config > > @@ -418,6 +418,30

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

2019-06-19 Thread Mathieu Poirier
Hi Leo, On Mon, 17 Jun 2019 at 09:00, 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 i

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

2019-06-17 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 f