From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9800 invoked by alias); 27 Feb 2006 18:56:43 -0000 Received: (qmail 9793 invoked by uid 22791); 27 Feb 2006 18:56:42 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,SUBJ_HAS_UNIQ_ID X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Feb 2006 18:56:40 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k1RIubno022886 for ; Mon, 27 Feb 2006 13:56:37 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k1RIub112039 for ; Mon, 27 Feb 2006 13:56:37 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k1RIubg2013993 for ; Mon, 27 Feb 2006 13:56:37 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 2EC488001FF for ; Mon, 27 Feb 2006 13:56:37 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id k1RIuaoG005762 for ; Mon, 27 Feb 2006 13:56:36 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k1RIuaTZ005759; Mon, 27 Feb 2006 13:56:36 -0500 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: systemtap@sources.redhat.com Subject: disabled interrupts (Was bug #2293 References: <20060207171449.2293.fche@redhat.com> <20060227173251.10706.qmail@sourceware.org> From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 27 Feb 2006 18:56:00 -0000 In-Reply-To: <20060227173251.10706.qmail@sourceware.org> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00648.txt.bz2 hunt wrote: > [...] You have now disabled interrupts, so the data [produced by end > probes] fills the buffers but stpd cannot empty them. How could stpd have emptied them before, in a reliable way? During an "end" probe, or when? stpd can't run until the next timeslice; we never cooperatively schedule out of a probe. > So we have effectively limited systemtap output to whatever space is > remaining in buffer when "probe end" is hit. [...] A couple of possible solutions: Use bigger buffers; put a buffer aside for end probes; get stpd to empty all the buffers early during the STP_EXIT exchange and thus before "end" probes run. - FChE