Re: [PATCH v5] scripts/gdb: add mm introspection utils

From: Andrew Morton
Date: Fri Jan 13 2023 - 23:04:18 EST


On Fri, 13 Jan 2023 20:51:51 +0300 Dmitrii Bundin <dmitrii.bundin.a@xxxxxxxxx> wrote:

> Changes in v5: https://lore.kernel.org/all/20230102171014.31408-1-dmitrii.bundin.a@xxxxxxxxx/
> - Added SPDX line

Almost.

--- a/scripts/gdb/linux/mm.py~scripts-gdb-add-mm-introspection-utils-v5
+++ a/scripts/gdb/linux/mm.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
#
# gdb helper commands and functions for Linux kernel debugging
#
@@ -6,8 +7,6 @@
# Authors:
# Dmitrii Bundin <dmitrii.bundin.a@xxxxxxxxx>
#
-# This work is licensed under the terms of the GNU GPL version 2.
-#

import gdb

--- a/scripts/gdb/vmlinux-gdb.py~scripts-gdb-add-mm-introspection-utils-v5
+++ a/scripts/gdb/vmlinux-gdb.py
@@ -37,3 +37,4 @@ else:
import linux.clk
import linux.genpd
import linux.device
+ import linux.mm
_