scripts/gdb: timerlist: convert int chunks to str
join() expects strings but integers are given. Convert chunks list to strings before passing it to join() Link: https://lkml.kernel.org/r/20230406221217.1585486-4-f.fainelli@gmail.com Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com> Signed-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Cc: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
b0969d7687
commit
29692fc92c
|
@ -174,7 +174,7 @@ def pr_cpumask(mask):
|
|||
if 0 < extra <= 4:
|
||||
chunks[0] = chunks[0][0] # Cut off the first 0
|
||||
|
||||
return "".join(chunks)
|
||||
return "".join(str(chunks))
|
||||
|
||||
|
||||
class LxTimerList(gdb.Command):
|
||||
|
|
Loading…
Reference in New Issue