Skip to content
Snippets Groups Projects
Commit 0c22fde8 authored by Jan Kiszka's avatar Jan Kiszka Committed by Linus Torvalds
Browse files

scripts/gdb: Adjust module reference counter reported by lx-lsmod

parent 7efb2a7b
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ class LxLsmod(gdb.Command): ...@@ -78,7 +78,7 @@ class LxLsmod(gdb.Command):
address=str(layout['base']).split()[0], address=str(layout['base']).split()[0],
name=module['name'].string(), name=module['name'].string(),
size=str(layout['size']), size=str(layout['size']),
ref=str(module['refcnt']['counter']))) ref=str(module['refcnt']['counter'] - 1)))
source_list = module['source_list'] source_list = module['source_list']
t = self._module_use_type.get_type().pointer() t = self._module_use_type.get_type().pointer()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment