aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kfifo.h
diff options
context:
space:
mode:
authorAaron Tomlin <[email protected]>2022-07-12 12:02:48 +0100
committerakpm <[email protected]>2022-07-29 18:12:37 -0700
commitb99695580bfc1f91364023c673681ddb88e375dc (patch)
treedfea9060aa4985d6d9bbfbf789aa2b7e18807837 /include/linux/kfifo.h
parent9f98911a9d6e08037903e8ecf44d50f4bcf2368d (diff)
scripts/gdb: ensure the absolute path is generated on initial source
Post 'make scripts_gdb' a symbolic link to scripts/gdb/vmlinux-gdb.py is created. Currently 'os.path.dirname(__file__)' does not generate the absolute path to scripts/gdb resulting in the following: (gdb) source vmlinux-gdb.py Traceback (most recent call last): File "scripts/gdb/vmlinux-gdb.py", line 25, in <module> import linux.utils ModuleNotFoundError: No module named 'linux' This patch ensures that the absolute path to scripts/gdb in relation to the given file is generated so each module can be located accordingly. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Aaron Tomlin <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Cc: Jan Kiszka <[email protected]> Cc: Kieran Bingham <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/kfifo.h')
0 files changed, 0 insertions, 0 deletions