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/bin4.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/bin4.stp')
-rw-r--r-- | testsuite/systemtap.printf/bin4.stp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testsuite/systemtap.printf/bin4.stp b/testsuite/systemtap.printf/bin4.stp index 638a38e6..40bbec7f 100644 --- a/testsuite/systemtap.printf/bin4.stp +++ b/testsuite/systemtap.printf/bin4.stp @@ -3,14 +3,13 @@ probe begin { - set_endian(2) - printf("%4b", 0x12) - printf("%4b", 0x34) - printf("%4b%4b", 0xabcdef00, 0x5678) - a = 0x12345678 - b = 0x11112222 - c = 0x88889999 - d = 0xcdef0000 + printf("%4b", big_endian4(0x12)) + printf("%4b", big_endian4(0x34)) + printf("%4b%4b", big_endian4(0xabcdef00), big_endian4(0x5678)) + a = big_endian4(0x12345678) + b = big_endian4(0x11112222) + c = big_endian4(0x88889999) + d = big_endian4(0xcdef0000) printf("%4b%4b%4b%4b", a, b, c, d) printf("a=%4b b=%4b c=%4b d=%4b",a,b,c,d) exit() |