Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2222737pxb; Fri, 25 Mar 2022 13:20:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPwztDv0SLfSXq0oTRmcKj45/9TV+nze0i2gKfDf1BqN42Gmndfy/qUHOheJioBWRlzkLJ X-Received: by 2002:a62:d0c1:0:b0:4fa:81f5:b9d4 with SMTP id p184-20020a62d0c1000000b004fa81f5b9d4mr11908311pfg.49.1648239656517; Fri, 25 Mar 2022 13:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648239656; cv=none; d=google.com; s=arc-20160816; b=ijjG4ZmNucCZ+b6JfSDWUkHHojVLBLTzotMrjh72E3cmL7MdQ4+pm/aAJuiE1NEKUg ryP3sc3toakL9/ePG3G9NAgqfS59lr9p+QkHQz94oIuQj7WvseTqZclkOf//cH33i1/r wBT2KpbX/cDWPDvccGKRDi1pMYFjDY6IM3sR/E9WXrOqvoRDw4KvY8zXxh1yyhKDV77t Oxo6v9sEnO67/ie6W6uiYKLkvUsZexit7wEg8AOcjuTbT7eMCvvicWTPmwAQ+H/mjGcN EMrg6LAbPD5nHyiimgAkAEPAocwMgrEPjCql25FC4ST0mHfSoNvBNrsWa+fgG+IgpoEx xNTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-topic:thread-index :content-transfer-encoding:mime-version:subject:message-id:to:from :date:dkim-signature:dkim-filter; bh=mwGMi7DQv+rIpXzPKYAh0aILg4rx7+9wE3psHKG8Ox8=; b=U9GUIRC+dXbBzrGImpxY56U6CU/yqb7Sz2f5WLfYgC7M2OX52bk2DvMJVKR3uBm/5Q woRPpUViIfIQ/0nIyh4Pm8whJihYXYOyesRjyI+mN3AQ/8oFNE2gworLzxHsTrE3ZtTK Bc7ZthFU89OzKA4ohP3dHNDtyNH9oLA/RHvS84yEV+wkY6ZD+DWuGfyu9XJcG+OchSfJ ALxP4EnTTPDNb0JJvcBAlc3KEBTXMd8yq36hclhwX0aSagaxfIfNbK/1yq00VBO8bssS p2yEpDCgD/CsfwWn6cHKufvxJT367N4PSNQt6cOFRDPErRhfP4W6mtV72Qph/npiqATW 0xfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=FFq8Id9R; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r18-20020a170902ea5200b00153f7e15595si3070106plg.310.2022.03.25.13.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 13:20:56 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=FFq8Id9R; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E2BD2BFD77; Fri, 25 Mar 2022 12:28:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229619AbiCYT3R (ORCPT + 99 others); Fri, 25 Mar 2022 15:29:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbiCYT2e (ORCPT ); Fri, 25 Mar 2022 15:28:34 -0400 Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 472521EC9B7; Fri, 25 Mar 2022 12:02:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id A00793F928D; Fri, 25 Mar 2022 14:37:33 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id o23C3DmGDikb; Fri, 25 Mar 2022 14:37:33 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 1AAED3F928C; Fri, 25 Mar 2022 14:37:33 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 1AAED3F928C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1648233453; bh=mwGMi7DQv+rIpXzPKYAh0aILg4rx7+9wE3psHKG8Ox8=; h=Date:From:To:Message-ID:MIME-Version; b=FFq8Id9RI4B+MAqAqNdDDT49nMdWQGHbMV0Vh81Wg8rKc9vZ6RZeZRvU25frcTrlI IyZmFRltt6UDeUjQzOL3MQYFy+oMO2AUv/LZQgMcQ2sQf+WaACwOW+EEA0t53znUPJ OQKikP7noZV+XcsnJ0YD27DpE5H+Bgx+lFohmuGJwsHiHXfCTaqUYrAS8ZFzRdO83J 4WTXE0UBk5xoZX3QREMglFPX0FmwYEA2ov/H6fLRx3Y8p1xLr+CcaM1aOSl59yGIQu FJxS1qNl0VG9p4EoelXanXI2mIrp8AdNGKa1JIBYXR2VQsoOWNS2LujOnHu+WgdVYd JDtdtWtGzDu9A== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Rmp3GDtL7f2D; Fri, 25 Mar 2022 14:37:33 -0400 (EDT) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 0CDB93F8FCC; Fri, 25 Mar 2022 14:37:33 -0400 (EDT) Date: Fri, 25 Mar 2022 14:37:32 -0400 (EDT) From: Mathieu Desnoyers To: lttng-dev@lists.lttng.org, diamon-discuss@lists.linuxfoundation.org, linux-trace-users@vger.kernel.org, linux-kernel Message-ID: <1722467374.194740.1648233452935.JavaMail.zimbra@efficios.com> Subject: [RELEASE] LTTng-modules 2.13.3 and 2.12.8 (Linux kernel tracer) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_4203 (ZimbraWebClient - FF98 (Linux)/8.8.15_GA_4232) Thread-Index: FdzCaxNCbhjFfBx2k4zpzfddPUUTBg== Thread-Topic: LTTng-modules 2.13.3 and 2.12.8 (Linux kernel tracer) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is a stable release announcement for the LTTng kernel tracer for the stable 2.12 and 2.13 branches. The releases are respectively 2.12.8 and 2.13.3. In the 2.13.3 release, two fixes are worth mentioning: * Fix: lttng ABI: lttng_counter_ioctl() tainted scalar The counter aggregate, clear and read functions (used for error reporting of the event notification feature) use a userspace-controlled "number_dimensions" argument as loop boundary. This ABI is only accessible from the root user, which limits the practical impact of this bug. * Fix: sample discarded events count before reserve Sampling the discarded events count in the buffer_end callback is done out of order, and may therefore include increments performed by following events (in following packets) if the thread doing the end-of-packet event write is interrupted for a long time. Sampling the event discarded counts before reserving space for the last event in a packet, and keeping this as part of the private ring buffer context, should fix this race. In lttng-modules, this scenario would only happen if an interrupt handler produces many events, when nested over an event between its reserve and commit. Note that if lttng-modules supports faultable tracepoints in the future, this may become more easy to trigger due to preemption. This fix is only part of the 2.13 stable branch and not backported to 2.12 because the lib ring buffer code used to implement this fix did not exist in 2.12. Given that the impact of this bug is only imprecision of discarded event reporting in corner-case scenarios (small impact, rare occurrence), the complexity of implementing this fix in 2.12 is not justified. The effect of this issue is that the lttng-tools tests/regression/tools/streaming/test_high_throughput_limits test is flaky. In the 2.12.8 release, a series of commits introduce support for the 5.17 Linux kernel. The 2.13 stable branch already supported that kernel in the prior releases. Feedback is welcome! Thanks, Mathieu Project website: https://lttng.org Documentation: https://lttng.org/docs Download link: https://lttng.org/download -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com