Date: Tue, 29 Jul 2014 16:17:52 -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-VmokF-ne32omR_csKZuet8m9U8ez6jsv=jDNE-0ns=7tPuQ@mail.gmail.com> In-Reply-To: <CAMw1wOwB-Gk=5RdgR=g2uXZk5VwdUBObkaSKNuftF=VQyibYEQ@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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 July 2014 16:15, Mark Johnston <markj@freebsd.org> wrote: > 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.) > > What program are you tracing? > > This should be fixed when I MFC r264434 in the next day or so: > http://svnweb.freebsd.org/base?view=revision&revision=264434 find / Thanks! I'll give this a whirl later. -a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokF-ne32omR_csKZuet8m9U8ez6jsv=jDNE-0ns=7tPuQ>