From: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
To: kuan-ying.lee@canonical.com, Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Subject: [PATCH v3 0/5] Fix some GDB command error and add some GDB commands
Date: Tue, 23 Jul 2024 14:48:56 +0800 [thread overview]
Message-ID: <20240723064902.124154-1-kuan-ying.lee@canonical.com> (raw)
Fix some GDB command errors and add some useful GDB commands.
Patch 1:
- Fix timerlist parsing issue
Patch 2-3:
- Add rbtree inorder traverse.
- Fix 'lx-mounts' command error.
Patch 4:
- Add 'lx-stack_depot_lookup' command to provides
users with backtrace of a handle.
Patch 5:
- Add 'lx-kasan_mem_to_shadow' command to translate
the memory address to kasan shadow memory address.
v1->v2:
- Add patch to fix 'lx-mounts' and 'lx-timerlist' gdb command errors.
v2->v3:
- Rebase on linux-next:next-20240722.
Kuan-Ying Lee (5):
scripts/gdb: fix timerlist parsing issue
scripts/gdb: add iteration function for rbtree
scripts/gdb: fix lx-mounts command error
scripts/gdb: Add 'lx-stack_depot_lookup' command.
scripts/gdb: Add 'lx-kasan_mem_to_shadow' command
scripts/gdb/linux/kasan.py | 44 +++++++++++++++++++++++++++++++++
scripts/gdb/linux/proc.py | 4 +--
scripts/gdb/linux/rbtree.py | 12 +++++++++
scripts/gdb/linux/stackdepot.py | 27 ++++++++++++++++++++
scripts/gdb/linux/timerlist.py | 31 ++++++++++++-----------
scripts/gdb/vmlinux-gdb.py | 1 +
6 files changed, 102 insertions(+), 17 deletions(-)
create mode 100644 scripts/gdb/linux/kasan.py
--
2.34.1
next reply other threads:[~2024-07-23 6:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-23 6:48 Kuan-Ying Lee [this message]
2024-07-23 6:48 ` [PATCH v3 1/5] scripts/gdb: fix timerlist parsing issue Kuan-Ying Lee
2024-07-23 6:48 ` [PATCH v3 2/5] scripts/gdb: add iteration function for rbtree Kuan-Ying Lee
2024-07-23 6:48 ` [PATCH v3 3/5] scripts/gdb: fix lx-mounts command error Kuan-Ying Lee
2024-07-23 6:49 ` [PATCH v3 4/5] scripts/gdb: Add 'lx-stack_depot_lookup' command Kuan-Ying Lee
2024-07-23 6:49 ` [PATCH v3 5/5] scripts/gdb: Add 'lx-kasan_mem_to_shadow' command Kuan-Ying Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240723064902.124154-1-kuan-ying.lee@canonical.com \
--to=kuan-ying.lee@canonical.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox