Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2014 13:12:12 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "dtrace@freebsd.org" <dtrace@freebsd.org>
Subject:   Re: dtrace pid provider on entry == segfault process
Message-ID:  <CAMw1wOx2XOuQ9bdn8nhA%2BHPUWBjH%2B=quOZ_2afmZmsCEv2fBtg@mail.gmail.com>
In-Reply-To: <CAJ-Vmok8VXSmOSMw5skG8RnC86_v19tNjA9x9ctjhdynDJv5Sg@mail.gmail.com>
References:  <CAJ-VmokzVDXPTb5r=BOOxioAEdckYUst58X%2BHCaVf_o00gHNmQ@mail.gmail.com> <CAJ-Vmok8VXSmOSMw5skG8RnC86_v19tNjA9x9ctjhdynDJv5Sg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 29, 2014 at 7:10 PM, Adrian Chadd <adrian@freebsd.org> wrote:
> Ugh, that sent too quickly.
>
> Let me clarify:
>
> [root@darkwatch] /data/blockd# cat test2.d
>
> pid$target:libc*:memcpy:entry
> {
> @[execname] = quantize(arg2);
> }
>
> this doesn't work right (it doesn't count events at all) and it has a
> 100% chance of SIGSEGV'ing the monitored process when you finish
> sampling (via ctrl-C.)

All the relevant changes should be available in stable/10 now. Could
you please update and give it another try?

Thanks,
-Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMw1wOx2XOuQ9bdn8nhA%2BHPUWBjH%2B=quOZ_2afmZmsCEv2fBtg>