From patchwork Wed Apr 3 05:13:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1919028 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V8XzC2x67z23v3 for ; Wed, 3 Apr 2024 16:16:22 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1rrsyk-0003pj-7B; Wed, 03 Apr 2024 05:16:06 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rrsyh-0003pL-6y for kernel-team@lists.ubuntu.com; Wed, 03 Apr 2024 05:16:03 +0000 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 012253F274 for ; Wed, 3 Apr 2024 05:16:03 +0000 (UTC) Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a4e9b682fadso35454866b.2 for ; Tue, 02 Apr 2024 22:16:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712121362; x=1712726162; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dRm7dxoUCxwfHuQLq3XpYCi5E/6IYEWY/ufGV6EtbKo=; b=SdQs50PzNgd99/xLMd0aJNq56jcvgAx4e4Wpz7JlGOMIiY8rXl1o5bGOQZ712h1et8 IpXTg/3k5riUDYIfuofWyn7mQwKEZGKubGXi4WZ8eBx9sN5DVRF0MZ9NXal/L/owbjVr qA02/tvUbkhpp3fG2hVLSJBTPf5LOR4UEYT1u2Dxpu+wCSmBWc0lB5Q7x3beB7WNdfmU ZdCPFb3Z/rJ/aGbrRV5ves4bdQsuXghAObEMAV5GUPpaK6FSOVnzL2nTy7wMQTU0cBXh c4Av55ekKTqqRDEF43IvmeC/nubHFs8uRmyWwo08b5/fIvKbHeWnxOySLJlEcV1nkF5A LgAA== X-Gm-Message-State: AOJu0YyS5FiqeuzYoNE62BBpKCfo9uuxQrPRHDzTNFSmrOG8v2NRI4RP aAfiRjIgQ3BOza5LCg0orvpCVDqsE6eaQJI/9jXz7cO8jF7+1qVu0ipPsiQqHznuPG4jGBKOr9Y q+60FAMONOPVtSZDxJ9gHlyraeGsIfRTf37Xp3YLEjA2DooML/P/kXH814WCjEHjgBaK0MYWyS0 RjBglQHN4taw== X-Received: by 2002:a17:906:c315:b0:a4e:a23c:d2dc with SMTP id s21-20020a170906c31500b00a4ea23cd2dcmr358421ejz.47.1712121362458; Tue, 02 Apr 2024 22:16:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3G8hCihohS6clVPoM8G84DGWHDLr6gt2mJXjAbFVg2P6XHkrHdoIocQzo8cegDpkuBAeGug== X-Received: by 2002:a17:906:c315:b0:a4e:a23c:d2dc with SMTP id s21-20020a170906c31500b00a4ea23cd2dcmr358415ejz.47.1712121361968; Tue, 02 Apr 2024 22:16:01 -0700 (PDT) Received: from localhost.localdomain (host-95-248-169-71.retail.telecomitalia.it. [95.248.169.71]) by smtp.gmail.com with ESMTPSA id ae10-20020a17090725ca00b00a4e657a5f1asm3599298ejc.112.2024.04.02.22.16.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 22:16:01 -0700 (PDT) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [N/U][PATCH 0/2] add Real-time Linux Analysis tool (rtla) to linux-tools Date: Wed, 3 Apr 2024 07:13:28 +0200 Message-ID: <20240403051553.257864-1-andrea.righi@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2059080 [Impact] The **rtla** is a meta-tool that includes a set of commands that aims to analyze the real-time properties of Linux. Considering the latest "low-latency" capabilities acquired by the generic kernel and also considering the recent trend in Ubuntu to focus on performance and observability (see for example https://ubuntu.com/blog/ubuntu-performance-engineering-with-frame-pointers-by-default), it makes sense to provide more tools that can help to analyze timing/responsive performance, such as rtla. [Test case] Simple rtla usage to measure the timer irq / timer thread latency: $ sudo rtla timerlat [Fix] Enable the build of the rtla binary during the kernel build and ship it with linux-tools. [Regression potential] The only potential regression is an increased amount of size in the linux-tools package, due to the extra binary. However, the binary itself is really small, the kernel already has all the required capabilities enabled and we don't need to introduce any additional user-space dependency, therefore such extra space is expected to be minimal. Acked-by: Kevin Becker