lkml.org 
[lkml]   [2020]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] perf script report: fix segfault when using DWARF mode
From
Date
On 4/2/20 7:54 AM, Andreas Gerstmayr wrote:
> When running perf script report with a Python script and a callgraph in
> DWARF mode, intr_regs->regs can be 0 and therefore crashing the regs_map
> function.
>
> Added a check for this condition (same check as in builtin-script.c:595).
>
> Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
> ---

Tested-by: Kim Phillips <kim.phillips@amd.com>

Thanks,

Kim

\
 
 \ /
  Last update: 2020-04-02 21:09    [W:0.144 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site