diff options
author | Amjad Ouled-Ameur <aouledameur@baylibre.com> | 2023-04-06 15:12:17 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-18 16:39:34 -0700 |
commit | 29692fc92c5b6a2c7cfe6f588ef68272e3343647 (patch) | |
tree | 2faaf36e6deb02badcce5227525e6d566bb14cd8 /scripts | |
parent | b0969d7687a7aaa82dcf2d1f245ef699387886da (diff) | |
download | lwn-29692fc92c5b6a2c7cfe6f588ef68272e3343647.tar.gz lwn-29692fc92c5b6a2c7cfe6f588ef68272e3343647.zip |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gdb/linux/timerlist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/linux/timerlist.py b/scripts/gdb/linux/timerlist.py index 249f0e804b24..64bc87191003 100644 --- a/scripts/gdb/linux/timerlist.py +++ b/scripts/gdb/linux/timerlist.py @@ -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): |