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/common/printa/tst.largeusersym.ksh
          +++ new/usr/src/cmd/dtrace/test/tst/common/printa/tst.largeusersym.ksh
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43                  ;
  44   44  }
  45   45  
  46   46  int
  47   47  main(int argc, char *argv[])
  48   48  {
  49   49          thequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydogthequickbrownfoxjumpsoverthelazydog();
  50   50  }
  51   51  EOF
  52   52  
  53      -gcc -o test test.c
       53 +gcc -m32 -o test test.c
  54   54  if [ $? -ne 0 ]; then
  55   55          print -u2 "failed to compile test.c"
  56   56          exit 1
  57   57  fi
  58   58  
  59   59  script()
  60   60  {
  61   61          $dtrace -c ./test -qs /dev/stdin <<EOF
  62   62          profile:::profile-1001hz
  63   63          /pid == \$target/
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX