From patchwork Wed Jan 26 18:57:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1584629 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=GXFxYxEn; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JkY1F6T4yz9tB1 for ; Thu, 27 Jan 2022 05:59:28 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nCnVm-0006M6-U7; Wed, 26 Jan 2022 18:59:18 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nCnVl-0006Ll-63 for kernel-team@lists.ubuntu.com; Wed, 26 Jan 2022 18:59:17 +0000 Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (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-1.canonical.com (Postfix) with ESMTPS id 070BA3F1B4 for ; Wed, 26 Jan 2022 18:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643223557; bh=IKTU1efLqV9KvdaBMoMAFDYDC1Ahk/03bDMuQQJI6Vc=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=GXFxYxEnkq2x8LPkfvaZyIB4G7VnTWxREzsFih7GoxXz9NBQCrheWVBwy+hANGF7o MbW1yBKzyo/J9Jv9fSWdt21xPmb0C+wSmmmIcrv/xaZvetcwv6XTbZKnQ95xH1Tm87 noCfpgvvlZeTjwgYjrpLiEJbXDlEYaRsjRbkHWajnkhx8dXfFu7MuWxMW0eVQ8igXo T2er7EZaX87gbzv6SUV13JQ2TkG1KfyNRcEdkNixadM4d4ruopKVkCXmEEgpPLlO73 dYqmljHoPKG+5KRocxV927J5tQy0dEX4KrUiwYJwVr6MOn/4uiji30WnPfZqHFOPvZ zuu0oUpvRZH1w== Received: by mail-ej1-f69.google.com with SMTP id rl11-20020a170907216b00b006b73a611c1aso103606ejb.22 for ; Wed, 26 Jan 2022 10:59:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IKTU1efLqV9KvdaBMoMAFDYDC1Ahk/03bDMuQQJI6Vc=; b=mhnpqiTR+wzN31YQV0h7j10n2TaDcr0N+ijVomKhEv2fvtNeRHjh5XVowkBD1hWPPT ES+6bkkow7p8LOBWqoSk2agtfYhXlFSH4pAoKNRA9YHMVtYwcR2xViYNxs6itqTB+HE9 YsqO3YGKAfTK0rb00tcHxjXwl2LAuL86FQyO5ksxZ8js/MLlxdhRs47bdLqxrIb6l4gb RSdZ1v2hAMWV7UH0q9UpP7wwXFiQIP0x+wvKXFyIgKuyPYRy2NVH+zHG4O+yBXdGfVot h/vg0JT3+8qlZpkr9gB9LTXmloAyBjIS8c7z3IKcVJvvybQPPJIk7zL9fcus3Q3J5Zcc 5WzA== X-Gm-Message-State: AOAM530Y8H9KtGwWr+7fr6Kw9V51pQ5XZSxy1s5GYrcoc32ocdHdzbXN bkK5c1/B2J5lmTDAC6l4SbhgfiG11EnlATVJV9aDUl8+JMWuo/25mplwHATgZ/dmAbCs2RZFOgG 31aBmyNdWFKilECat5vE9DkbX9Ur+l8MCfDTSmRXVPw== X-Received: by 2002:aa7:da44:: with SMTP id w4mr431943eds.146.1643223556279; Wed, 26 Jan 2022 10:59:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzirrGLAJ4dC0fAp/Whh9NYgJLFnB10qF832Ob9o32Xr8N0hVTErBa7/cc387ZK07TPMHIJvQ== X-Received: by 2002:aa7:da44:: with SMTP id w4mr431928eds.146.1643223556028; Wed, 26 Jan 2022 10:59:16 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id u18sm7767903eje.37.2022.01.26.10.59.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 10:59:15 -0800 (PST) From: Krzysztof Kozlowski To: kernel-team@lists.ubuntu.com Subject: [J/realtime][PATCH 00/15] Add rtla to realtime Date: Wed, 26 Jan 2022 19:57:57 +0100 Message-Id: <20220126185812.300679-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.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/1959130 Backport rtla from v5.17-rc1 and include it in realtime kernel. Why? Because it is a usefull tool for debugging and analyzing realtime characteristics or issues of the kernel. Best regards, Krzysztof Daniel Bristot de Oliveira (14): rtla: Real-Time Linux Analysis tool rtla: Helper functions for rtla rtla: Add osnoise tool rtla/osnoise: Add osnoise top mode rtla/osnoise: Add the hist mode rtla: Add timerlat tool and timelart top mode rtla/timerlat: Add timerlat hist mode rtla: Add Documentation rtla: Add rtla osnoise man page rtla: Add rtla osnoise top documentation rtla: Add rtla osnoise hist documentation rtla: Add rtla timerlat documentation rtla: Add rtla timerlat top documentation rtla: Add rtla timerlat hist documentation Krzysztof Kozlowski (1): UBUNTU: [Packaging] realtime: include rtla in tools package Documentation/tools/rtla/Makefile | 41 + Documentation/tools/rtla/common_appendix.rst | 12 + .../tools/rtla/common_hist_options.rst | 23 + Documentation/tools/rtla/common_options.rst | 28 + .../tools/rtla/common_osnoise_description.rst | 8 + .../tools/rtla/common_osnoise_options.rst | 17 + .../rtla/common_timerlat_description.rst | 10 + .../tools/rtla/common_timerlat_options.rst | 16 + .../tools/rtla/common_top_options.rst | 3 + .../tools/rtla/rtla-osnoise-hist.rst | 66 ++ Documentation/tools/rtla/rtla-osnoise-top.rst | 61 ++ Documentation/tools/rtla/rtla-osnoise.rst | 59 ++ .../tools/rtla/rtla-timerlat-hist.rst | 106 +++ .../tools/rtla/rtla-timerlat-top.rst | 145 +++ Documentation/tools/rtla/rtla-timerlat.rst | 57 ++ Documentation/tools/rtla/rtla.rst | 48 + debian.realtime/control.stub.in | 5 +- debian/rules.d/2-binary-arch.mk | 4 + debian/rules.d/3-binary-indep.mk | 1 + tools/tracing/rtla/Makefile | 102 ++ tools/tracing/rtla/README.txt | 36 + tools/tracing/rtla/src/osnoise.c | 875 ++++++++++++++++++ tools/tracing/rtla/src/osnoise.h | 91 ++ tools/tracing/rtla/src/osnoise_hist.c | 801 ++++++++++++++++ tools/tracing/rtla/src/osnoise_top.c | 579 ++++++++++++ tools/tracing/rtla/src/rtla.c | 87 ++ tools/tracing/rtla/src/timerlat.c | 72 ++ tools/tracing/rtla/src/timerlat.h | 4 + tools/tracing/rtla/src/timerlat_hist.c | 822 ++++++++++++++++ tools/tracing/rtla/src/timerlat_top.c | 618 +++++++++++++ tools/tracing/rtla/src/trace.c | 192 ++++ tools/tracing/rtla/src/trace.h | 27 + tools/tracing/rtla/src/utils.c | 433 +++++++++ tools/tracing/rtla/src/utils.h | 56 ++ 34 files changed, 5504 insertions(+), 1 deletion(-) create mode 100644 Documentation/tools/rtla/Makefile create mode 100644 Documentation/tools/rtla/common_appendix.rst create mode 100644 Documentation/tools/rtla/common_hist_options.rst create mode 100644 Documentation/tools/rtla/common_options.rst create mode 100644 Documentation/tools/rtla/common_osnoise_description.rst create mode 100644 Documentation/tools/rtla/common_osnoise_options.rst create mode 100644 Documentation/tools/rtla/common_timerlat_description.rst create mode 100644 Documentation/tools/rtla/common_timerlat_options.rst create mode 100644 Documentation/tools/rtla/common_top_options.rst create mode 100644 Documentation/tools/rtla/rtla-osnoise-hist.rst create mode 100644 Documentation/tools/rtla/rtla-osnoise-top.rst create mode 100644 Documentation/tools/rtla/rtla-osnoise.rst create mode 100644 Documentation/tools/rtla/rtla-timerlat-hist.rst create mode 100644 Documentation/tools/rtla/rtla-timerlat-top.rst create mode 100644 Documentation/tools/rtla/rtla-timerlat.rst create mode 100644 Documentation/tools/rtla/rtla.rst create mode 100644 tools/tracing/rtla/Makefile create mode 100644 tools/tracing/rtla/README.txt create mode 100644 tools/tracing/rtla/src/osnoise.c create mode 100644 tools/tracing/rtla/src/osnoise.h create mode 100644 tools/tracing/rtla/src/osnoise_hist.c create mode 100644 tools/tracing/rtla/src/osnoise_top.c create mode 100644 tools/tracing/rtla/src/rtla.c create mode 100644 tools/tracing/rtla/src/timerlat.c create mode 100644 tools/tracing/rtla/src/timerlat.h create mode 100644 tools/tracing/rtla/src/timerlat_hist.c create mode 100644 tools/tracing/rtla/src/timerlat_top.c create mode 100644 tools/tracing/rtla/src/trace.c create mode 100644 tools/tracing/rtla/src/trace.h create mode 100644 tools/tracing/rtla/src/utils.c create mode 100644 tools/tracing/rtla/src/utils.h Acked-by: Tim Gardner Acked-by: Joseph Salisbury Acked-by: Joseph Salisbury