Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ class LxLsmod(gdb.Command):
                address=str(layout['base']).split()[0],
                name=module['name'].string(),
                size=str(layout['size']),
                ref=str(module['refcnt']['counter'])))
                ref=str(module['refcnt']['counter'] - 1)))

            source_list = module['source_list']
            t = self._module_use_type.get_type().pointer()