aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-04-25 13:13:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-25 13:46:31 +0200
commit1404d3509c768732be51d0acf8330689936a692a (patch)
treee86e48dbaf4e806785979904a1650719b8285e4f /tools/perf/scripts/python/stackcollapse.py
parenttty: use lock guard()s in tty_io (diff)
downloadlinux-1404d3509c768732be51d0acf8330689936a692a.tar.gz
linux-1404d3509c768732be51d0acf8330689936a692a.zip
serial: switch uart_port::iotype to enum uart_iotype
The inline-defined constants look weird. Instead, define a proper enum for them and type uart_port::iotype as that enum. This allows for proper checking in switch-case labels (somewhere, a default or UPIO_UNKNOWN label needs to be added/handled). Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250425111315.1036184-4-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions