lkml.org 
[lkml]   [2012]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] vsprintf: Add %pb[1-64] specifier to print hex memory dump
From
Hi,

On Fri, Jun 29, 2012 at 5:54 PM, Joe Perches <joe@perches.com> wrote:
> On Fri, 2012-06-29 at 17:11 +0300, Andrei Emeltchenko wrote:
>> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
>>
>> 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() ?

If this only needed for debug we would need to undef this?

Regards,
Andrei


\
 
 \ /
  Last update: 2012-06-29 17:41    [W:0.040 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site