diff options
author | root <root@toddy.(none)> | 2008-12-05 11:15:06 -0500 |
---|---|---|
committer | root <root@toddy.(none)> | 2008-12-05 11:15:06 -0500 |
commit | b58523345ea01d313672f6896b02b447b6d1d82a (patch) | |
tree | 93bdefeeca9c3db69c5d5804ec32524ead923155 /stap.1.in | |
parent | 3e122bea3dd507d0d355e4dead7fcbd73b72c0d9 (diff) | |
download | systemtap-steved-b58523345ea01d313672f6896b02b447b6d1d82a.tar.gz systemtap-steved-b58523345ea01d313672f6896b02b447b6d1d82a.tar.xz systemtap-steved-b58523345ea01d313672f6896b02b447b6d1d82a.zip |
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 |