diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-12-05 11:36:12 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-12-05 11:36:12 -0500 |
commit | a87d1bf186b8060231a374334e399737f6d860a4 (patch) | |
tree | dc2b9936968ab575e21a62fa9e500ec8f166cdb4 /stap.1.in | |
parent | 0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6 (diff) | |
parent | b58523345ea01d313672f6896b02b447b6d1d82a (diff) | |
download | systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.tar.gz systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.tar.xz systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap:
PR7051: Remove broken printf %n directive support
Diffstat (limited to 'stap.1.in')
-rw-r--r-- | stap.1.in | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -654,9 +654,6 @@ Signed decimal. %m Safely reads kernel memory at the given address, outputs its content. The width specifier determines the number of bytes to read. Default is 1 byte. .TP -%n -Parameterless. Used in conjunction with %b. Writes a binary value which is the total remaning size of the binary blob being written. The width specifier determines the number of bytes this 'length value' will written as; valid specifiers are %n %1n %2n %4n. Default (%n) is 2 bytes. See example below. -.TP %o Unsigned octal. .TP @@ -694,10 +691,8 @@ Examples: Prints: a is alice; 1234abcd or 1234ABCD or 0x1234abcd; -1 or 18446744073709551615\\n printf("2 bytes of kernel buffer at address %p: %2m", p, p) Prints: 2 byte of kernel buffer at address 0x1234abcd: <binary data> - printf("%1n%4b", p) - Prints (these values as binary data): 0x4 0x1234abcd - * the first byte (due to the 1 on %n) is the remaning number of bytes written by printf - * the subsequent 4 bytes is the value due to %b + printf("%4b", p) + Prints (these values as binary data): 0x1234abcd .ESAMPLE .SS STATISTICS |