summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2025-02-08 02:50:13 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2025-03-15 21:16:21 +0900
commit59d60d26a58be75e9e3b813104c2dfd3b58eb662 (patch)
treead8fb7559b010a61633bc0fd0e72e5792707277b /scripts/gdb/linux/tasks.py
parentab5bc764bdc270d1c55aaf9d238e0986ff301355 (diff)
downloadlinux-59d60d26a58be75e9e3b813104c2dfd3b58eb662.tar.gz
linux-59d60d26a58be75e9e3b813104c2dfd3b58eb662.tar.bz2
linux-59d60d26a58be75e9e3b813104c2dfd3b58eb662.zip
modpost: introduce get_basename() helper
The logic to retrieve the basename appears multiple times. Factor out the common pattern into a helper function. I copied kbasename() from include/linux/string.h and renamed it to get_basename(). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions