diff options
author | Wenji Huang <wenji.huang@oracle.com> | 2009-04-27 05:38:18 -0400 |
---|---|---|
committer | Wenji Huang <wenji.huang@oracle.com> | 2009-04-26 23:05:04 -0400 |
commit | c4f51a54acff992cf19902ffd56e8338158c5811 (patch) | |
tree | e09944d29060011dfc91c95748f07f673432df96 /stap.1.in | |
parent | 40fc3e43cea224623400ac07b6f03c700d209dec (diff) | |
download | systemtap-steved-c4f51a54acff992cf19902ffd56e8338158c5811.tar.gz systemtap-steved-c4f51a54acff992cf19902ffd56e8338158c5811.tar.xz systemtap-steved-c4f51a54acff992cf19902ffd56e8338158c5811.zip |
PR10099: Extend %M directive to support hexdumping large buffers
This patch will make %M directive dump the variable width
buffer in hex format instead of returning uint64_t number
as before.
* runtime/vsprintf.c: Modify %M directive.
* stap.1.in: Update description.
* testsuite/systemtap.printf/memory1.stp: Add test case.
Diffstat (limited to 'stap.1.in')
-rw-r--r-- | stap.1.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -674,7 +674,7 @@ Signed decimal. Safely reads kernel memory at the given address, outputs its content. The precision specifier determines the number of bytes to read. Default is 1 byte. .TP %M -Same as %m, but outputs in hexadecimal. The precision specifier determines the number of hexadecimal digits to output. Default is 1 digit. +Same as %m, but outputs in hexadecimal. The minimal size of output is double the precision specifier. .TP %o Unsigned octal. |