Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 16:19:20 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Mark Johnston <markj@freebsd.org>
Cc:        "dtrace@freebsd.org" <dtrace@freebsd.org>
Subject:   Re: dtrace pid provider on entry == segfault process
Message-ID:  <CAJ-VmomxquPcf%2BaiXQTCZc=bq%2B_9-YNbAF2=bY-CmxPmmMZa=A@mail.gmail.com>
In-Reply-To: <CAJ-VmokF-ne32omR_csKZuet8m9U8ez6jsv=jDNE-0ns=7tPuQ@mail.gmail.com>
References:  <CAJ-VmokzVDXPTb5r=BOOxioAEdckYUst58X%2BHCaVf_o00gHNmQ@mail.gmail.com> <CAJ-Vmok8VXSmOSMw5skG8RnC86_v19tNjA9x9ctjhdynDJv5Sg@mail.gmail.com> <CAMw1wOwB-Gk=5RdgR=g2uXZk5VwdUBObkaSKNuftF=VQyibYEQ@mail.gmail.com> <CAJ-VmokF-ne32omR_csKZuet8m9U8ez6jsv=jDNE-0ns=7tPuQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
... whilst I'm here, is this supposed to work?

[root@darkwatch] /data/blockd# dtrace -s test2.d -p 28686

dtrace: script 'test2.d' matched 1 probe

^C


  blockd

           value  ------------- Distribution ------------- count

              -1 |                                         0

               0 |                                         4676

               1 |@                                        23715

               2 |                                         7642

               4 |                                         9457

               8 |@                                        32601

              16 |                                         17893

              32 |                                         8685

              64 |                                         1102

             128 |                                         1315

             256 |                                         0

             512 |                                         0

            1024 |                                         0

            2048 |                                         0

            4096 |                                         0

            8192 |                                         0

           16384 |                                         0

           32768 |                                         0

           65536 |                                         0

          131072 |                                         0

          262144 |                                         0

          524288 |                                         0

         1048576 |                                         0

         2097152 |                                         0

         4194304 |                                         0

         8388608 |                                         0

        16777216 |                                         0

        33554432 |                                         0

        67108864 |                                         0

       134217728 |                                         0

       268435456 |                                         0

       536870912 |                                         0

      1073741824 |                                         0

      2147483648 |                                         0

      4294967296 |                                         0

      8589934592 |                                         0

     17179869184 |                                         0

     34359738368 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    1335242

     68719476736 |                                         0

    137438953472 |                                         0

    274877906944 |                                         0

    549755813888 |                                         0

   1099511627776 |                                         0

   2199023255552 |                                         0

   4398046511104 |                                         0

   8796093022208 |                                         0

  17592186044416 |                                         0

  35184372088832 |                                         0

  70368744177664 |                                         2630

 140737488355328 |                                         0


[root@darkwatch] /data/blockd# cat test2.d

pid$target:libc*:memcpy:return

{

@[execname] = quantize(arg2);

}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomxquPcf%2BaiXQTCZc=bq%2B_9-YNbAF2=bY-CmxPmmMZa=A>