Bug 10099 - extend printf %M to support hexdumping large buffers, not just small numbers
Summary: extend printf %M to support hexdumping large buffers, not just small numbers
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Wenji Huang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 11:20 UTC by Frank Ch. Eigler
Modified: 2009-10-19 18:48 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2009-04-24 11:20:16 UTC
bug #3688 introduced some hex-dumping functionality into
stp_printf (%M), but we have had reports (bug #10081) that
it is limited to small numbers.  It should be as general as
%s or %m and take rather large width parameter values, so
that dozens or hundreds of bytes can be hexdumped in one go.
Comment 1 Wenji Huang 2009-04-24 13:47:44 UTC
The initial patch is
http://sources.redhat.com/ml/systemtap/2009-q2/msg00417.html

Comment from Frank: "the two new macros seem just as well not used but inlined 
in their solitary use spots".

Will update it.
Comment 2 Wenji Huang 2009-04-27 09:02:49 UTC
see commit c4f51a54acff992cf19902ffd56e8338158c5811
Comment 3 Frank Ch. Eigler 2009-10-19 18:48:41 UTC
committed