[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6a098ce1-1981-dcff-ea62-af5fc07ec7fb@amd.com>
Date: Thu, 2 Apr 2020 14:07:51 -0500
From: Kim Phillips <kim.phillips@....com>
To: Andreas Gerstmayr <agerstmayr@...hat.com>,
linux-perf-users@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
"Steven Rostedt (VMware)" <rostedt@...dmis.org>,
Kan Liang <kan.liang@...ux.intel.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf script report: fix segfault when using DWARF mode
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@...hat.com>
> ---
Tested-by: Kim Phillips <kim.phillips@....com>
Thanks,
Kim
Powered by blists - more mailing lists