Re: [PATCH 0/4] perf tools: Fix kmap handling

From: Jiri Olsa
Date: Mon Feb 10 2020 - 15:35:35 EST


On Mon, Feb 10, 2020 at 10:47:11AM -0600, Kim Phillips wrote:
> On 2/10/20 8:32 AM, Jiri Olsa wrote:
> > hi,
> > Ravi Bangoria reported crash in perf top due to wrong kmap
> > objects management, this patchset should fix that.
> >
> > thanks,
> > jirka
> >
> >
> > ---
> > Jiri Olsa (4):
> > perf tools: Mark modules dsos with kernel type
> > perf tools: Mark ksymbol dsos with kernel type
> > perf tools: Fix map__clone for struct kmap
> > perf tools: Move kmap::kmaps setup to maps__insert
> >
> > tools/perf/util/machine.c | 24 ++++++++++--------------
> > tools/perf/util/map.c | 17 ++++++++++++++++-
> > 2 files changed, 26 insertions(+), 15 deletions(-)
> >
>
> This series fixes a segmentation fault I was seeing on a
> couple of AMD systems, so:
>
> Tested-by: Kim Phillips <kim.phillips@xxxxxxx>

great, thanks a lot for testing

jirka