From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6919450737082630144 X-Received: by 2002:aa7:d98a:: with SMTP id u10mr10602421eds.275.1611226355795; Thu, 21 Jan 2021 02:52:35 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:520e:: with SMTP id s14ls2149792edd.3.gmail; Thu, 21 Jan 2021 02:52:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgzbkj4mcP1a9xffxhU8w56xGhYmt+LBPTdJaEL2lUyDXjMILfLcD8XXJ0ZVw/IkteNrBc X-Received: by 2002:a50:fb96:: with SMTP id e22mr10292379edq.118.1611226354835; Thu, 21 Jan 2021 02:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611226354; cv=none; d=google.com; s=arc-20160816; b=zKQjSqDy/3rXuqX6+PqFIua4DBoj2pMm64NqqaJCTi6wHgFkls7SRTTFSKfy1OR1fW c2L0QnQQEaWdLa7oejOkrY1rBL6zKgC1oaP1yW5Lc09MCZmMFa1GYsiQ0AG+QuWTFQvx qyeTD8sxh0X322LGATXr35QYcjxnTUaXsMr6wc3q/AnBZqoiUT0S/SG4OSlOPXGt5W10 WVGg58htu34P4C1jxb58NGaVIv+Yt/FfF6y76MZsFbfA/xeoktMY7X7/nJKlSqIU91QA I4m93qQ6C0IJIWhW9j+5Gqmuwyg+3aiTOMAvt57mjZmqW7ofp8k4EQu/9SUv0LNCzu/I zUtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=R76k8DpcHJLN5JOCpsIddbHIUocVR/PkSGiWNcsBvog=; b=HkMrIchkLkBA3xOUDSRTWrD21dUC2tImP+oBclFeoundNqN1b4ZdDlKbr1Zb1b8QeS K8ECQztPg5qDcEshllonvkFXx3QjJNHqaPzP51AHgB+Unf0VO8zxSphUEFA6WcDF3hJD 88epsqIoQIlVuK0HRhtyo5/ZfRC2NlkKZ/oLwo/cgI3k+EGhCgv6zTSfis/wj3bFoP15 fu8INPL6+pKWhYmRVwXezoUnAA22Bx9KWiPaiKFb2ahRIL7ongSMXbk7lSEhXCPEvgwb SI7OX8l22BMRYo/NFKbrg8+LVx5KEiBnhULmL9uJLkOGKVW/AyYugmEmwcHKWwL9GN5I XyNg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id m5si208801edr.1.2021.01.21.02.52.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2021 02:52:34 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 10LAqYO6010588 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 21 Jan 2021 11:52:34 +0100 Received: from MD1T0KAC-VM.ad001.siemens.net (md1t0kac.ad001.siemens.net [139.25.0.7]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 10LAqYfw022443; Thu, 21 Jan 2021 11:52:34 +0100 From: Felix Moessbauer To: isar-users@googlegroups.com Cc: Felix Moessbauer Subject: [PATCH v2 0/2] RFC: Package perf from linux kernel tools Date: Thu, 21 Jan 2021 11:52:22 +0100 Message-Id: <20210121105224.26285-1-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: WXOcByPIjKTa Hi, thanks for your input that is reflected in the following patchsets. Changes since v1: - package as part of kernel recipe - put python patch in dedicated commit - add support for 5.4 kernels - enable users to provide custom patches One pain point is still that we have to copy the patches from upstream debian. IMO it would be better to just fetch them, but then we would have to somehow map to a branch on salsa. Any recommendations? Best regards, Felix Felix Moessbauer (2): feat: package linux-perf- in kernel recipe feat: package perf for 5.4 kernels .../linux/files/debian/control.tmpl | 31 +++++ .../files/debian/rules.d/tools/perf/Makefile | 60 +++++++++ .../linux/files/debian/rules.tmpl | 18 ++- .../perf/4.19/tools-perf-install.patch | 58 +++++++++ .../perf/4.19/tools-perf-version.patch | 119 ++++++++++++++++++ .../patches/perf/5.4/tools-perf-install.patch | 51 ++++++++ .../patches/perf/5.4/tools-perf-python.patch | 16 +++ .../patches/perf/5.4/tools-perf-version.patch | 111 ++++++++++++++++ meta/recipes-kernel/linux/linux-custom.inc | 11 +- meta/recipes-kernel/linux/linux-tools.inc | 67 ++++++++++ 10 files changed, 538 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-kernel/linux/files/debian/rules.d/tools/perf/Makefile create mode 100644 meta/recipes-kernel/linux/files/patches/perf/4.19/tools-perf-install.patch create mode 100644 meta/recipes-kernel/linux/files/patches/perf/4.19/tools-perf-version.patch create mode 100644 meta/recipes-kernel/linux/files/patches/perf/4.19/tools-perf-version.patch create mode 100644 meta/recipes-kernel/linux/files/patches/perf/5.4/tools-perf-install.patch create mode 100644 meta/recipes-kernel/linux/files/patches/perf/5.4/tools-perf-python.patch create mode 100644 meta/recipes-kernel/linux/linux-tools.inc -- 2.20.1