Print this page
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation missing checks
Reviewed by: Bryan Cantrill <bryan@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dtrace/test/tst/sparc/usdt/tst.tailcall.ksh
          +++ new/usr/src/cmd/dtrace/test/tst/sparc/usdt/tst.tailcall.ksh
↓ open down ↓ 79 lines elided ↑ open up ↑
  80   80          print -u2 "failed to compile test.s"
  81   81          exit 1
  82   82  fi
  83   83  
  84   84  $dtrace -G -32 -s prov.d test.o
  85   85  if [ $? -ne 0 ]; then
  86   86          print -u2 "failed to create DOF"
  87   87          exit 1
  88   88  fi
  89   89  
  90      -gcc -o test test.o prov.o
       90 +gcc -m32 -o test test.o prov.o
  91   91  if [ $? -ne 0 ]; then
  92   92          print -u2 "failed to link final executable"
  93   93          exit 1
  94   94  fi
  95   95  
  96   96  $dtrace -c ./test -s /dev/stdin <<EOF
  97   97  test\$target:::fire
  98   98  /arg0 == 9 && arg1 == 19 && arg2 == 2006/
  99   99  {
 100  100          printf("%d/%d/%d", arg0, arg1, arg2);
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX