kmemleak: Printing of the objects hex dump
authorSergey Senozhatsky <sergey.senozhatsky@mail.by>
Thu, 27 Aug 2009 13:29:18 +0000 (14:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:18 +0000 (14:29 +0100)
commit0494e08281d08f0a3dc442eb5e5cecc125b53b27
tree2050fee8744a101a25b84a45dc8abf4966ca00b6
parent008139d9146f9afee0e58df4b7422d0c9921f8ce
kmemleak: Printing of the objects hex dump

Introducing printing of the objects hex dump to the seq file.
The number of lines to be printed is limited to HEX_MAX_LINES
to prevent seq file spamming. The actual number of printed
bytes is less than or equal to (HEX_MAX_LINES * HEX_ROW_SIZE).

(slight adjustments by Catalin Marinas)

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@mail.by>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
mm/kmemleak.c