scripts/gdb: add mount point list command
authorKieran Bingham <kieran.bingham@linaro.org>
Mon, 23 May 2016 23:24:59 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commitc1a153992ea86307d2b8c3c0be2e060102b02aff
tree94895f6c467a6ff1e8b2b59cb6932b7f144a6400
parente7165a2d7d87cd397d166ebf4d49763d28f5fc3d
scripts/gdb: add mount point list command

lx-mounts will identify current mount points based on the 'init_task'
namespace by default, as we do not yet have a kernel thread list
implementation to select the current running thread.

Optionally, a user can specify a PID to list from that process'
namespace

Link: http://lkml.kernel.org/r/e614c7bc32d2350b4ff1627ec761a7148e65bfe6.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Kieran Bingham <kieran.bingham@linaro.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/constants.py.in
scripts/gdb/linux/proc.py