diff options
author | hunt <hunt> | 2007-10-18 16:27:40 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-10-18 16:27:40 +0000 |
commit | 5730d0d038d1186d2ea4ec0476efb1a453c8c8f4 (patch) | |
tree | 4cec428720d5001387a2a63f36781e5818cbe6b4 /testsuite/systemtap.printf/bin3.stp | |
parent | 333fe7b868dcd622b4c3b50afb4c6e833a260df0 (diff) | |
download | systemtap-steved-5730d0d038d1186d2ea4ec0476efb1a453c8c8f4.tar.gz systemtap-steved-5730d0d038d1186d2ea4ec0476efb1a453c8c8f4.tar.xz systemtap-steved-5730d0d038d1186d2ea4ec0476efb1a453c8c8f4.zip |
*** empty log message ***
Diffstat (limited to 'testsuite/systemtap.printf/bin3.stp')
-rw-r--r-- | testsuite/systemtap.printf/bin3.stp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testsuite/systemtap.printf/bin3.stp b/testsuite/systemtap.printf/bin3.stp index ac86059d..c0a30448 100644 --- a/testsuite/systemtap.printf/bin3.stp +++ b/testsuite/systemtap.printf/bin3.stp @@ -4,14 +4,13 @@ probe begin { - set_endian(2) - printf("%2b", 0x12) - printf("%2b", 0x34) - printf("%2b%2b", 0xabcd, 0x5678) - a = 0x12345678 - b = 0xabcd - c = 0x8888 - d = 0xcdef + printf("%2b", big_endian2(0x12)) + printf("%2b", big_endian2(0x34)) + printf("%2b%2b", big_endian2(0xabcd), big_endian2(0x5678)) + a = big_endian2(0x12345678) + b = big_endian2(0xabcd) + c = big_endian2(0x8888) + d = big_endian2(0xcdef) printf("%2b%2b%2b%2b", a, b, c, d) printf("a=%2b b=%2b c=%2b d=%2b",a,b,c,d) exit() |