Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 16:10:39 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        dtrace@freebsd.org
Subject:   Re: dtrace pid provider on entry == segfault process
Message-ID:  <CAJ-Vmok8VXSmOSMw5skG8RnC86_v19tNjA9x9ctjhdynDJv5Sg@mail.gmail.com>
In-Reply-To: <CAJ-VmokzVDXPTb5r=BOOxioAEdckYUst58X%2BHCaVf_o00gHNmQ@mail.gmail.com>
References:  <CAJ-VmokzVDXPTb5r=BOOxioAEdckYUst58X%2BHCaVf_o00gHNmQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.)


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmok8VXSmOSMw5skG8RnC86_v19tNjA9x9ctjhdynDJv5Sg>