OpenCloudOS-Kernel/scripts/gdb/linux
Adrien Schildknecht ca3f172c19 scripts/gdb: fix lx-lsmod refcnt
Commit 2f35c41f58 ("module: Replace module_ref with atomic_t refcnt")
changes the way refcnt is handled but did not update the gdb script to
use the new variable.

Since refcnt is not per-cpu anymore, we can directly read its value.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Pantelis Koukousoulas <pktoss@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-05-28 18:25:19 -07:00
..
.gitignore scripts/gdb: ignore byte-compiled python files 2015-02-17 14:34:54 -08:00
Makefile scripts/gdb: add infrastructure 2015-02-17 14:34:53 -08:00
__init__.py scripts/gdb: add empty package initialization script 2015-02-28 09:57:51 -08:00
cpus.py scripts/gdb: convert CpuList to generator function 2015-02-17 14:34:55 -08:00
dmesg.py scripts/gdb: port to python3 / gdb7.7 2015-02-17 14:34:54 -08:00
modules.py scripts/gdb: fix lx-lsmod refcnt 2015-05-28 18:25:19 -07:00
symbols.py scripts/gdb: disable pagination while printing from breakpoint handler 2015-02-17 14:34:55 -08:00
tasks.py scripts/gdb: use a generator instead of iterator for task list 2015-02-17 14:34:54 -08:00
utils.py scripts/gdb: port to python3 / gdb7.7 2015-02-17 14:34:54 -08:00