Re: [PATCH] PM: tools: Fix sleepgraph syntax error

From: Rafael J. Wysocki
Date: Mon Nov 20 2023 - 12:02:11 EST


On Wed, Nov 15, 2023 at 6:21 PM Wolfram Sang <wsa@xxxxxxxxxx> wrote:
>
> On Wed, Nov 15, 2023 at 11:47:51AM -0500, David Woodhouse wrote:
> > From: David Woodhouse <dwmw@xxxxxxxxxxxx>
> >
> > The sleepgraph tool currently fails:
> >
> > File "/usr/bin/sleepgraph", line 4155
> > or re.match('psci: CPU(?P<cpu>[0-9]*) killed.*', msg)):
> > ^
> > SyntaxError: unmatched ')'
> >
> > Fixes: 34ea427e01ea ("PM: tools: sleepgraph: Recognize "CPU killed" messages")
> > Signed-off-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
>
> Had the same issue:
>
> Reviewed-by: Wolfram Sang <wsa@xxxxxxxxxx>

Applied as 6.7-rc material, thanks!