tools: add gdb command to dump hashmap information
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 14 Oct 2014 23:31:23 +0000 (01:31 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 30 Oct 2014 18:50:51 +0000 (19:50 +0100)
commit2ea8c08306c7e33f8217a878cf990fc491c9432c
tree51a9f73447006595887a5bb5f0ef0091551b59de
parent89439d4fc0d29f04ac68432fd06ab84bc4e36e20
tools: add gdb command to dump hashmap information

$ sudo gdb -p 1
...
(gdb) source gdb-sd_dump_hashmaps.py
(gdb) sd_dump_hashmaps
  ... lists allocated hashmaps ...
(gdb) sd_dump_hashmaps 1
  ... lists allocated hashmaps, their DIB histograms and contiguous
      blocks statistics ...
Makefile.am
tools/gdb-sd_dump_hashmaps.py [new file with mode: 0644]