From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 3 05:48:53 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73E87106566B for ; Fri, 3 Dec 2010 05:48:53 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 269788FC13 for ; Fri, 3 Dec 2010 05:48:52 +0000 (UTC) Received: by qyk8 with SMTP id 8so396215qyk.13 for ; Thu, 02 Dec 2010 21:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=J6OM/Gep7N1ac6KvkjNRel19izcbA204fp9BTYO9Xzs=; b=DBY9mOrrFis3ecHgSPjBbagXSa6rGyOOCECU9kQL4gokqXEHHYru4aalyuDIGCDRU8 i894vP+MDBjZWi+FY7VxoMQYEmdXKI4FgByOV26rKe2YvqsUUaKcdOnXkuKkiZC2E+NZ 0nFPZWXqMBFxTFRo3atz4ShRs2RV8cReiJrFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=uP2OkTSPLulY6zWUggczD2yc2T8G6qXeW5zBLCtNHvFQ/0PTNoeXAx4+uXqp/R4C+z Vy6Q59djCtQw0yhc+e9MPDdR3njfgEinjQDD81uOtgXRTtv1NSPsm9F6d4Jt0+X51EgT c9f/zHe6J1LwQdargfmiQCTGMWZ18eM+p0Kpc= MIME-Version: 1.0 Received: by 10.224.54.9 with SMTP id o9mr873323qag.163.1291355331457; Thu, 02 Dec 2010 21:48:51 -0800 (PST) Sender: artemb@gmail.com Received: by 10.220.177.195 with HTTP; Thu, 2 Dec 2010 21:48:51 -0800 (PST) In-Reply-To: References: Date: Thu, 2 Dec 2010 21:48:51 -0800 X-Google-Sender-Auth: 883z3Sm9hxHa3HtWpV6GItT2XoY Message-ID: From: Artem Belevich To: Brandon Gooch Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: DTrace: Sending ^C while running script produces no output X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2010 05:48:53 -0000 On Thu, Dec 2, 2010 at 9:46 PM, Artem Belevich wrote: > On Thu, Dec 2, 2010 at 9:20 PM, Brandon Gooch > 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. Tried on another box, also amd64: stable/8 r212650 - works fine. --Artem