From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F148A3870847; Thu, 4 Jan 2024 22:34:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F148A3870847 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704407670; bh=WTv8NsZ6dbPduUuPgCii3Rp/4TO2jCNsu7sCFcv9fsc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=k7KBV1khAJrCKmxFzEr7c8+RclrYgayGgQILpv6y4Su5Lm/XnSlXTSIBqPpdm4Mlf VLCRcKJdHKnGqMPUAQ9VfOhum4Ol7KxABZuhg4lrhUx3YevpeNR31/YeKtNMyPwrPM N99dQb78LSjn6nvrxgquR+8UvqtxQjqS+u0B1KTA= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31117] transport failures Date: Thu, 04 Jan 2024 22:34:06 +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: ASSIGNED 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: attachments.created 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=3D31117 --- Comment #5 from William Cohen --- Created attachment 15285 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15285&action=3Ded= it Patch reduce transport drops The patch retries reserving space if it gets to the end of a subbuffer and there isn't enough room for the header. There probably needs to be some tw= eaks to the code in staprun/relay.c to not count the padding as lost bytes when = it is looking for the the STAP_TRACE_MAGIC. The attached patch improves the test results for the systemtap.map tests th= at were transporting more than PAGE_SIZE amount of data. It also improves the test results for the syscall tests. For: sudo make installcheck RUNTESTFLAGS=3D"systemtap.maps/*.exp" Before the patch: =3D=3D=3D systemtap Summary =3D=3D=3D # of expected passes 83 # of unexpected failures 6 # of unsupported tests 1 =3D=3D=3D systemtap Summary =3D=3D=3D # of expected passes 86 # of unexpected failures 3 # of unsupported tests 1 @@ -106 +95 @@ -FAIL: systemtap.maps/map_hash_SSI.stp +PASS: systemtap.maps/map_hash_SSI.stp @@ -108 +97 @@ -FAIL: systemtap.maps/map_hash_stat_II.stp +PASS: systemtap.maps/map_hash_stat_II.stp @@ -110 +99 @@ -FAIL: systemtap.maps/map_hash_stat_SI.stp +PASS: systemtap.maps/map_hash_stat_SI.stp The syscall test results look much better also. However, on RHEL9/f39 there are a number of unrelated failures on x86_64 for the 32-bit tests because t= he check for the syscall names/numbers added by git commit 7fe1b7bb8e665c9edd38eaf34a499618ee763293 --=20 You are receiving this mail because: You are the assignee for the bug.=