From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D85AE3858427; Wed, 17 Apr 2024 14:42:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D85AE3858427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713364934; bh=rYV8rAgfoZwtNWPoY1v/ijaYdeJ+vwlm9416KwdbAi4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RsuQBovNg59Kj7khFzlak7vh31F2auHRyyh8DZKxMmXgbQdSIeUFc1rmcoNPLyIyp wt90A/NEGLnMGWrvw5zdCv6kEEXFvJ7QRwvVYYjTTN9znyaFwUzBHFSqeJN8bad/hQ 7jIyl7c32ynBuo2e5/uM+22IGSKvzinpmIKUqAWo= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31597] Systemtap not extracting all the data sent to the print data in the buffers before shutdown Date: Wed, 17 Apr 2024 14:42:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31597 --- Comment #1 from William Cohen --- The core of the problem appears to be that when stop_threads is set any pen= ding data in the buffer or heap is just left there as the threads immediately ex= it or at best read one more entry when stap_threads is set. The stop_thread should act more like a "5 minutes left on the test" in coll= ege where the read_thread_serialmode() exits either when the "5 minutes left" expires OR there is no additional data to drain from the buffer. The read_thread_serializer() should have similar conditions. --=20 You are receiving this mail because: You are the assignee for the bug.=