scripts/gdb: fix lx-timerlist for HRTIMER_MAX_CLOCK_BASES printing
authorPeng Liu <liupeng17@lenovo.com>
Tue, 21 Mar 2023 06:20:04 +0000 (14:20 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:39:31 +0000 (16:39 -0700)
commit8fc2a304f57cb304231a4b0564d5995b2dd04f63
treef36b23dc2593a4797e03f5f78bdbc69b807b7280
parent7362042f3556528e9e9b1eb5ce8d7a3a6331476b
scripts/gdb: fix lx-timerlist for HRTIMER_MAX_CLOCK_BASES printing

HRTIMER_MAX_CLOCK_BASES is of enum type hrtimer_base_type.  To print it as
an integer, HRTIMER_MAX_CLOCK_BASES should be converted first.

Link: https://lkml.kernel.org/r/TYCP286MB214640FF0E7F04AC3926A39EC6819@TYCP286MB2146.JPNP286.PROD.OUTLOOK.COM
Signed-off-by: Peng Liu <liupeng17@lenovo.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/timerlist.py