Re: [RFC] vsprintf: Add %pb[1-64] specifier to print hex memory dump

From: Joe Perches
Date: Fri Jun 29 2012 - 10:54:24 EST


On Fri, 2012-06-29 at 17:11 +0300, Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
>
> Add new specifier which may be used to print 1-64 bytes of memory.
> There is often a need to print small (up to 64 bytes) objects like
> bluetooth keys in debug purposes. Currently we have to create special
> function for that.

print_hex_dump() ?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/