dtrace pid provider on entry == segfault process

Mark Johnston markj at freebsd.org
Tue Jul 29 23:15:06 UTC 2014


On Tue, Jul 29, 2014 at 7:10 PM, Adrian Chadd <adrian at freebsd.org> wrote:
> Ugh, that sent too quickly.
>
> Let me clarify:
>
> [root at 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

Thanks,
-Mark


More information about the freebsd-dtrace mailing list