diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2007-10-21 16:34:49 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2007-10-21 16:34:49 -0400 |
commit | 24993e4fcae48ca014e6b53f3f9a011c9cfa8f06 (patch) | |
tree | 90080b050ab62e79e7d111cc764a75dba91ad485 /testsuite/systemtap.printf/bin3.stp | |
parent | 11088605d9c0ab753e613b9ae52b6e59948cfc83 (diff) | |
parent | f994dd4997067ca69b3b10ff8fa1547987aed585 (diff) | |
download | systemtap-steved-24993e4fcae48ca014e6b53f3f9a011c9cfa8f06.tar.gz systemtap-steved-24993e4fcae48ca014e6b53f3f9a011c9cfa8f06.tar.xz systemtap-steved-24993e4fcae48ca014e6b53f3f9a011c9cfa8f06.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
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() |