From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6919450737082630144 X-Received: by 2002:a2e:6818:: with SMTP id c24mr99129lja.184.1611246909719; Thu, 21 Jan 2021 08:35:09 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:6145:: with SMTP id m5ls324600lfk.2.gmail; Thu, 21 Jan 2021 08:35:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSTXXtq//9Wd29FVEQp2eOKPt93qkNf+J+PVE4LTfAVBser+PTDJDj2bMVfdDj0OITlr+D X-Received: by 2002:ac2:4987:: with SMTP id f7mr17587lfl.41.1611246908491; Thu, 21 Jan 2021 08:35:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611246908; cv=none; d=google.com; s=arc-20160816; b=hEhMhGf5nfJHQ5RD/sWneHaGnIsprtCaEMZhHpVLN/SfXzFSd5Yyg43Bx67uM4WFuw vrbcvJAMxCNCI/L6kNH0M8C9oIRW/XD1gPmMzL4fHJK8qaA/LOpS10blnmTiq+QXgTc7 29xuYB+1ZC4UNs/TlQmQGKRcLUIOlSxlxn+I9oSWwTW/W6D/+nEb7kgIFxbWW77/XgUA Ribl5nW/UBpXOSctjEWhrQCR/Hfh2boY0J6Fma/iHEWDraGwf3R0y5AXXINe+xRfmelY 3s8Yb2pIvKFyeUZIl9s+Dr6/LmjNw/FNTTiBJvoG7Dc40/zDPJKAxVkO+bkt1KxCrn2Y s9FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=XtDpnrwh2N9agyAwXMsjCeIWZloncqq4hheC0Rx97C0=; b=ZP0LEPLEJBbyC7Cx8rnOzsyIkCH4E3w5Lo1i0xPzfc2J6681GFAkr8PlP8myo2bJKz Th2sepdkQwKaS3Sox61DHy+h2Bzx83BSweGbaRqO1b4e+MrXMnXNxq1fA8nPVtrU22Wf BQ9cxh/WPFxWrlBPh51qDNa3A3eLC89UCWgO2TqqYMzjCiSO0rZhC9ONgoTRUhFYHtVB K6yOnqruccOA3fKineu9Acai2aWsr0IyJp7QIKNgvadq+JP4FgMNCTlmCzuLz4IU2Tqf khqJuKz8nnVfrxZgOURCEshtbk9SW7thtzWHfejNM5h7JYUXG/C5/cDyMEcreYUXYKgm x/Uw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id h21si359889ljj.6.2021.01.21.08.35.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2021 08:35:08 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 10LGZ7bG010897 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 21 Jan 2021 17:35:07 +0100 Received: from [167.87.77.241] ([167.87.77.241]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 10LGZ7V0016090; Thu, 21 Jan 2021 17:35:07 +0100 Subject: Re: [PATCH v2 0/2] RFC: Package perf from linux kernel tools To: "Moessbauer, Felix (T RDA IOT SES-DE)" , "isar-users@googlegroups.com" References: <20210121105224.26285-1-felix.moessbauer@siemens.com> From: Jan Kiszka Message-ID: Date: Thu, 21 Jan 2021 17:35:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: knXlYEnoQ3se On 21.01.21 16:00, Moessbauer, Felix (T RDA IOT SES-DE) wrote: > Hi Jan, > > Well... the patches target the Makefiles of perf in the kernel sources. And they add things like versioning (e.g. perf_4.19 instead of perf) and directory layouts of the install targets. > That's something which is (IMO) unlikely to be accepted by the kernel itself. > But apparently, nobody had tried to upstream this yet (according to a quick search on the LKML). Hard-coded Debian-specific settings are not going to be accepted. Smart ways to make things more configurable may be. Jan > > With the current approach, it cannot really rot. > When a new kernel is added, it is disabled per default. > Nonetheless, I don't see another strategy than just manually porting this to each new KR. > > Best regards, > Felix > >> -----Original Message----- >> From: Jan Kiszka >> Sent: Thursday, January 21, 2021 12:56 PM >> To: Moessbauer, Felix (T RDA IOT SES-DE) ; >> isar-users@googlegroups.com >> Subject: Re: [PATCH v2 0/2] RFC: Package perf from linux kernel tools >> >> On 21.01.21 11:52, [ext] Felix Moessbauer wrote: >>> 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? >>> >> >> The patches are targeting the kernel sources, right? Then upstream the features >> that we are missing from the kernel. After that, we will "only" >> have to deal with a shrinking number of backports for which we can provide a >> view references. When keeping the patches downstream, we will soon have a >> huge number of additional patches to carry - or perf support will even bitrot >> again with newer kernels. >> >> Jan >> >> -- >> Siemens AG, T RDA IOT >> Corporate Competence Center Embedded Linux -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux