Whamcloud - gitweb
LU-12461 contrib: Add epython scripts for crash dump analysis 82/35282/4
authorAnn Koehler <amk@cray.com>
Thu, 20 Jun 2019 18:25:02 +0000 (13:25 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Feb 2020 05:50:16 +0000 (05:50 +0000)
commit4249b02f5c4c8a14faa0b88479b8eac75b212617
tree6b267ab7cd6521ac3c15bfd076cf6ca9a78cee5b
parent0cc48c4adbe540f8e529f80e4262b6ff47649e7c
LU-12461 contrib: Add epython scripts for crash dump analysis

This mod creates a new subdirectory, debug_tools/epython_scripts,
in ./contrib to contain PyKdump scripts. These scripts written in
an extended version of Python aid in memory dump analysis by
extracting and formatting the content of Lustre data structures.

The scripts are written using Python 2.7 and tested on Lustre 2.11
client dumps.

Test-Parameters: trivial

Cray-bug-id: LUS-7501
Signed-off-by: Ann Koehler <amk@cray.com>
Change-Id: I0a15eb9025fb604742f4ae99508a080ce04163dc
Reviewed-on: https://review.whamcloud.com/35282
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
31 files changed:
contrib/debug_tools/epython_scripts/README [new file with mode: 0644]
contrib/debug_tools/epython_scripts/cfs_hashes.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/cfs_hnodes.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/addrlib.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/cid/__init__.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/cid/kernel_table.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/cid/machdep_table.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/cid/page_flags.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/cid/phys_mem_map.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/cid/vm_table.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/input/__init__.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/input/argparse_ext.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/input/enumtools.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/input/flagtools.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/input/uflookup.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/page.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/time.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/crashlib/util.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/debug_flags.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/dk.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/jiffies2date.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/ldlm_dumplocks.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/ldlm_lockflags.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/lu_object.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/lustrelib.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/obd_devs.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/ptlrpc.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/rpc_opcode.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/rpc_stats.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/sbi_ptrs.py [new file with mode: 0644]
contrib/debug_tools/epython_scripts/uniqueStacktrace.py [new file with mode: 0644]