From patchwork Mon Aug 19 07:41:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Barsanti X-Patchwork-Id: 3320 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 00C593F1F3 for ; Mon, 19 Aug 2024 09:42:16 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5bed70da9b6sf1844504a12.1 for ; Mon, 19 Aug 2024 00:42:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1724053336; cv=pass; d=google.com; s=arc-20160816; b=013JOlbVRcgEogF16i5au2dxIN3aSYAuYzRrz/XahvATgxoLsTe+k05UXnwenJOZjE XKTY+KD2s8sdvzAR5Pskn0Wa3dpm/m144MznGCQZNqKaqaU4+p/t9GAUjCBUbDe0DuUO XgCX2Z9GboLxoRwKey4KBqmrChDBgE2YIf6bmFLkbSfBBcqsZ2vUJjzItbsM2WOJ/Wow ETNRTJAjMAIzEqRzMO6DndzokJrZVLLIuhSkgHDq+VOz9wGj85QkBUue2dkrog0NdMos 6EvTml88zoIqONiAgrZrA/HW+Psj2aQW+qjUIbt7HgLWlwfwluwEAvKRIKbqicMaHEsu CwxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=GMZuOUPW9bzsLcT/Wzs+VsXVOSTiXXFnNp0gx4R4hP0=; fh=3w3fRgey2q1BwIC6411NRngAoHcX1A+JF5LR3UX86oE=; b=e9tggG9rn3VcdLK9BsyMq1t+6MNAyTU9e6sPGKb0Ta1a/PTQaPgHZ3vAzRvgPp+4bw 6MyvN2iCHPOJUwi91U/jict1iG3xC92UCrs5xqgz6w4/qIYvU6wVx1qNag4OY+flMMzx E5gRZ7kdnNqE4eO/D6rd2YXn5LiNY77J8NDe7JyjympIf7iWj0zE6xJ4J+8DfECjCTYK p5OYplDnEDsx/zDAbNwLZcSvAKV0+s36ACZ3PO5kt21BWnnonKZsIMktuqhHCgcRBZA9 TpacapjA4Y+4jiMJDGPQxIaq+JyX14WYNHRfC4Fy/A4gBtQq+MMeouC3EnjcsquHGOT4 6Wxg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=N+jY4X4X; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1724053336; x=1724658136; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=GMZuOUPW9bzsLcT/Wzs+VsXVOSTiXXFnNp0gx4R4hP0=; b=R4PXjQit2FS4bLUJe97OX1VMSV2ibSrJV7y4xNMMD8QPdEEYZTrstc/XtKqnQzp8QM 3wZMDh5R89L6z6KAJswj5o6Wzm9kTx0/ELM/e5SxeWr6gyRKq3lYGK2U91Q/Y/3rM1ZW H8tSdDVGTk03LywsQqEHwSHbpLxAouDLXUzJ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724053336; x=1724658136; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GMZuOUPW9bzsLcT/Wzs+VsXVOSTiXXFnNp0gx4R4hP0=; b=ZZmYDg4+/AvcPpAklT+WeESjZ+srvD6dJhMmjXTTARWNK8zHdTYL32HftuHfsEhV9x Tm7PLaurzAj95Ma91SuTtm+xzkFbA/n1sfCF7wn0ij42Tsv+Y7v/oV5cQQYotOe+7Nk0 fvHjDfqhsqoLjaZr1x5wraDvzeaYwyq1/xEd4S9QUhad55XnhDgfN5KESFRHAJ9Rc/z2 +u2tL+nTvmSttIXu/K3thFM7eTwoYovMjkB5DOmVYlWzzfRpX7duYpyaJnkyotWhfGVL Y80sS6Fn0CbHtnwFuptSPbtIPpbpz5IzmjGIhO6oD+/Q9Da/96HSEnr9bMKPVMz3VIUR PUXQ== X-Forwarded-Encrypted: i=2; AJvYcCW+wmWnruICO0qfg2AOqhYcvEPQXdgLkra1ZDsEWbnaQ/6PVAq7LnstYWh4pahcPzuuOiw8K5sMjdJfmKSBxvO0B0/t6AmhVS507ieS9Ys/itPkXx8kFNZp1PoAcg== X-Gm-Message-State: AOJu0YxLrcI8AFkhXk6h5TprX4VPu7dlD4kTXBezkuG/nnY1Oa/9yoGi E2lykfmEA/Kh/7mvO6SVLR37/K2DoSyjQS7gUEsRUmy8HdA/3ukkwFmx40eQRr3fdw== X-Google-Smtp-Source: AGHT+IFMpGz8yXW9PQKZiAws6kgwtFqsR5PzCSal0rEaiIz+ApDDdSdZMkPXUNDIFxiJMLaHZRSApQ== X-Received: by 2002:a05:6402:4312:b0:5be:fadc:8714 with SMTP id 4fb4d7f45d1cf-5befadc8845mr1779258a12.5.1724053336184; Mon, 19 Aug 2024 00:42:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:42d6:b0:5b2:d0b8:74d6 with SMTP id 4fb4d7f45d1cf-5beb388df3dls672740a12.1.-pod-prod-08-eu; Mon, 19 Aug 2024 00:42:14 -0700 (PDT) X-Received: by 2002:a17:906:f5a9:b0:a77:deb2:8b01 with SMTP id a640c23a62f3a-a83928a4018mr660863266b.1.1724053334052; Mon, 19 Aug 2024 00:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724053334; cv=none; d=google.com; s=arc-20160816; b=TXmjG6aseJhOaUML6v5WEsbxggXZRzj0PhowTDFOVo8TPmN9AdJ+pwywh68qnmg4AJ WL3wR4ED/kNlNTeLbvg0kSCktG/zlk/EWFrmD5mvzmqd4tFWfyXGIW8DbUdvU5LqPBQh ts6FaXZpnP8PZd6FMZO10QRIv5IE6dHxaawXPCHZW7urh8654PSNOEkEfXc4+guYMexH niM2byRxw+ujXyzw5iHSxgnT2XR0pdDDIwSxKudDqdyWc+jkMByxflVvPusi90kl0frN VlA38A+uYGBWB+yKI+4ehVgvqVKSWsigfJy+/fjgSYz81/5PJeQmgWXmf6L5KiHmHycx p2Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=fLiPqf0axs4zp0JwVoUCRFuZSGmwGg+6L81mgRacF44=; fh=u9hQ0FYhgFaRYZt60LMCTuHprfvTVd18Zbk+lSMUPZs=; b=M9Xp0TM6MEsnQ1sjuxRvWMZHZi8987F6cVNSUM7veJARVao7qlEISbiRR57UnCmuqq HkPpezaIrzt7lOkSCm06S4X68GzmQ25/1spWBWS6PehjDJ2Jk/m+aV9pvKQ6YzuLVZBm x0fafmnog8kztY7Jt/4oI9GOJ2DgvCzmudb0cUKBxjnON0yjT03f3ZFNqCwZTCQhBy2x Bl0uJblD4aWI/qx9vJ7FPEfVy7fr7rk8hYHaFBcQwiG2Ye9lNPF8CwgOqXTHE6Puhx8p XEo3w6dvSdALD6aZdNRSWYd2snTWK6f3r2FYtsFqaUX1a3niBrv37mcGN05nD1p71AhJ z1tA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=N+jY4X4X; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a83838c7c86sor194431066b.2.2024.08.19.00.42.13 for (Google Transport Security); Mon, 19 Aug 2024 00:42:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:948c:b0:a7a:bd5a:1eb3 with SMTP id a640c23a62f3a-a83928a5f73mr767584966b.8.1724053333323; Mon, 19 Aug 2024 00:42:13 -0700 (PDT) Received: from localhost.localdomain (i116103.upc-i.chello.nl. [62.195.116.103]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838c68f2sm598333966b.2.2024.08.19.00.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 00:42:12 -0700 (PDT) From: Patrick Barsanti To: linux-amarula@amarulasolutions.com Cc: michael@amarulasolutions.com, adam.duskett@amarulasolutions.com, Patrick Barsanti Subject: [PATCH 0/6] Add support for rtla tool Date: Mon, 19 Aug 2024 09:41:56 +0200 Message-ID: <20240819074202.34144-1-patrick.barsanti@amarulasolutions.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Original-Sender: patrick.barsanti@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=N+jY4X4X; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This series introduces support for rtla to poky. The rtla is a meta-tool that includes a set of commands that aims to analyze the real-time properties of Linux. But instead of testing Linux as a black box, rtla leverages kernel tracing capabilities to provide precise information about the properties and root causes of unexpected results. Patrick Barsanti (6): libtracefs: import from meta-openembedded rtla: Revert Makefile changes for rtla rtla: Add kernel configs to enable tracers rtla: Add kernel recipe for rtla core-image-minimal: Add libgcc to IMAGE_INSTALL core-image-minimal: Add rtla to IMAGE_INSTALL .../recipes-core/images/core-image-minimal.bb | 2 +- ...not-preserve-ownership-in-cp-command.patch | 28 ++ .../libtracefs/libtracefs_1.8.1.bb | 22 + ...a-Use-tools-build-makefiles-to-build.patch | 414 ++++++++++++++++++ meta/recipes-kernel/linux/files/rtla.cfg | 3 + meta/recipes-kernel/linux/linux-yocto_6.10.bb | 4 +- meta/recipes-kernel/linux/linux-yocto_6.6.bb | 3 +- meta/recipes-kernel/rtla/rtla.bb | 137 ++++++ 8 files changed, 610 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-kernel/libtracefs/libtracefs/0001-makefile-Do-not-preserve-ownership-in-cp-command.patch create mode 100644 meta/recipes-kernel/libtracefs/libtracefs_1.8.1.bb create mode 100644 meta/recipes-kernel/linux/files/0001-Revert-tools-rtla-Use-tools-build-makefiles-to-build.patch create mode 100644 meta/recipes-kernel/linux/files/rtla.cfg create mode 100644 meta/recipes-kernel/rtla/rtla.bb