Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2010 21:46:40 -0800
From:      Artem Belevich <fbsdlist@src.cx>
To:        Brandon Gooch <jamesbrandongooch@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: DTrace: Sending ^C while running script produces no output
Message-ID:  <AANLkTikGYJiiqbx6v7xMtNpj4%2Bcom1i3ivDtyOegA4DZ@mail.gmail.com>
In-Reply-To: <AANLkTikmxpRQY_nOD6SB32-nd7YTTgysv2zWgzv7ozYy@mail.gmail.com>
References:  <AANLkTikmxpRQY_nOD6SB32-nd7YTTgysv2zWgzv7ozYy@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 2, 2010 at 9:20 PM, Brandon Gooch
<jamesbrandongooch@gmail.com> wrote:
> I've been tinkering with DTrace a bit, and I've notice something
> peculiar on each system I've tried it on.
>
> Sending ^C from the keyboard in the terminal (console, XTerm, Konsole)
> produces no output [1].
>
> For example, while trying out a one-liner (from
> http://www.brendangregg.com/DTrace/dtrace_oneliners.txt):

I've got two boxes, both running stable-8/amd64.

stable/8 r215749 (+cyclic patch) - reliably produces output, though
for some reason does not count anything for 32-bit apps.
stable/8 r215546 - seems to have the problem you've described. I did
get normal output once out of 10 or so attempts.

Given that a recent version seems to be working, it may be worth it to
update FreeBSD and try again.

--Artem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikGYJiiqbx6v7xMtNpj4%2Bcom1i3ivDtyOegA4DZ>