Skip to content

scripts/gdb: Updates for 4.7

Jan Kiszka linux-kbuild lkml 1 version Applied

Status from this message: [merged] maintainers-add-co-maintainer-for-scripts-gdb.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 0 repliesApplied 18/18

Patches in v1 All 18 applied

#Subject and filesSizeRepliesApplied
1/18scripts/gdb: Adjust module reference counter reported by lx-lsmodscripts/gdb/linux/modules.py+1 -10 repliesApplied
2/18scripts/gdb: Provide linux constantsKbuild scripts/gdb/linux/Makefile scripts/gdb/linux/constants.py.in +1 more+54 -10 repliesApplied
3/18scripts/gdb: Provide kernel list item generatorsscripts/gdb/linux/lists.py+21 -00 repliesApplied
4/18scripts/gdb: Convert modules usage to lists functionsscripts/gdb/linux/modules.py+6 -110 repliesApplied
5/18scripts/gdb: Provide exception catching parserscripts/gdb/linux/utils.py+7 -00 repliesApplied
6/18scripts/gdb: Support !CONFIG_MODULES gracefullyscripts/gdb/linux/modules.py+4 -10 repliesApplied
7/18scripts/gdb: Provide a dentry_name VFS path helperscripts/gdb/linux/utils.py+8 -00 repliesApplied
8/18scripts/gdb: Add io resource readersscripts/gdb/linux/proc.py+57 -00 repliesApplied
9/18scripts/gdb: Add mount point list commandscripts/gdb/linux/constants.py.in scripts/gdb/linux/proc.py+119 -00 repliesApplied
10/18scripts/gdb: Add cpu iteratorsscripts/gdb/linux/cpus.py+38 -00 repliesApplied
11/18scripts/gdb: Cast CPU numbers to integerscripts/gdb/linux/cpus.py+1 -10 repliesApplied
12/18scripts/gdb: Add a Radix Tree Parserscripts/gdb/linux/constants.py.in scripts/gdb/linux/radixtree.py scripts/gdb/vmlinux-gdb.py+105 -00 repliesApplied
13/18scripts/gdb: Add documentation example for radix treeDocumentation/gdb-kernel-debugging.txt+21 -00 repliesApplied
14/18scripts/gdb: Add lx_thread_info_by_pid helperscripts/gdb/linux/tasks.py+19 -00 repliesApplied
15/18scripts/gdb: Improve types abstraction for gdb python scriptsscripts/gdb/linux/utils.py+15 -20 repliesApplied
16/18scripts/gdb: Fix issue with dmesg.py and python 3.Xscripts/gdb/linux/dmesg.py+4 -30 repliesApplied
17/18scripts/gdb: decode bytestream on dmesg for Python3scripts/gdb/linux/dmesg.py+2 -20 repliesApplied
18/18MAINTAINERS: Add co-maintainer for scripts/gdbMAINTAINERS+1 -00 repliesApplied

Reviews trailers per patch

1 of 18 patches has a Reviewed-by or Acked-by.

PatchDom CoteKieran Bingham
1/18
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18
13/18
14/18
15/18T-b
16/18T-b
17/18A-b T-b
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/18] scripts/gdb: Updates for 4.7

Hi Andrew,

please include the following enhancements and fixed for the gdb scripts in your queue.

This adds a number of new commands and helper functions, contributed by Kieran, and fixes lx-dmesg for Python 3 as well as corrects the output of lx-lsmod.

Kieran stepped up to support me significantly with the maintenance of the script. Andrew, it may very well be that you will receive the next merge request from him already.

Jan

CC Dom Cote <[email protected]>
CC Jeff Mahoney <[email protected]>
Cc Jonathan Corbet <[email protected]>
CC Kieran Bingham <[email protected]>
CC Kieran Bingham <[email protected]>

Dom Cote (2):
scripts/gdb: Improve types abstraction for gdb python scripts scripts/gdb: Fix issue with dmesg.py and python 3.X

Jan Kiszka (2):
scripts/gdb: Adjust module reference counter reported by lx-lsmod scripts/gdb: Cast CPU numbers to integer

Kieran Bingham (14):
scripts/gdb: Provide linux constants scripts/gdb: Provide kernel list item generators scripts/gdb: Convert modules usage to lists functions scripts/gdb: Provide exception catching parser scripts/gdb: Support !CONFIG_MODULES gracefully scripts/gdb: Provide a dentry_name VFS path helper scripts/gdb: Add io resource readers scripts/gdb: Add mount point list command scripts/gdb: Add cpu iterators
scripts/gdb: Add a Radix Tree Parser scripts/gdb: Add documentation example for radix tree scripts/gdb: Add lx_thread_info_by_pid helper scripts/gdb: decode bytestream on dmesg for Python3
MAINTAINERS: Add co-maintainer for scripts/gdb

 Documentation/gdb-kernel-debugging.txt |  21 +++++
 Kbuild                                 |  10 +++
 MAINTAINERS                            |   1 +
 scripts/gdb/linux/Makefile             |  12 ++-
 scripts/gdb/linux/constants.py.in      |  59 +++++++++++++
 scripts/gdb/linux/cpus.py              |  38 ++++++++
 scripts/gdb/linux/dmesg.py             |  11 +--
 scripts/gdb/linux/lists.py             |  21 +++++
 scripts/gdb/linux/modules.py           |  24 +++--
 scripts/gdb/linux/proc.py              | 156 +++++++++++++++++++++++++++++++++
 scripts/gdb/linux/radixtree.py         |  97 ++++++++++++++++++++
 scripts/gdb/linux/tasks.py             |  19 ++++
 scripts/gdb/linux/utils.py             |  32 ++++++-
 scripts/gdb/vmlinux-gdb.py             |   2 +
 14 files changed, 482 insertions(+), 21 deletions(-)
 create mode 100644 scripts/gdb/linux/constants.py.in
 create mode 100644 scripts/gdb/linux/radixtree.py
Signature · 1 line
2.1.4