From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6919450737082630144 X-Received: by 2002:adf:92a4:: with SMTP id 33mr5062960wrn.347.1611073871626; Tue, 19 Jan 2021 08:31:11 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:60c2:: with SMTP id u185ls192867wmb.2.gmail; Tue, 19 Jan 2021 08:31:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTgRKMgI+1eWR9R9MrwVRt4UJ/5ikWsUkwq0uau79CVo4M8pkqR4LomkpB2lKWmvqdi8Ai X-Received: by 2002:a1c:1b51:: with SMTP id b78mr401274wmb.123.1611073870648; Tue, 19 Jan 2021 08:31:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611073870; cv=none; d=google.com; s=arc-20160816; b=Kb+l1Fi2xWToRGTaj+o+C6+c+sPib37tbc9pD1I9sz5MZaVgaXIG1j7lgZ3lunDBI0 ZfSf80MY1DAxfeejYMY282Mwu4+U91AUj8xCWS9Eby9b8nAPYcNosjSfyBGtFLp0Rvtj 8TyyxA3t7SjlV0Nkpiy/CRoCT297u0wD2H/NGRCzRPZDUuMGNRdJ0vAAvlvHE9wvhGNU 58KtBt1mhLkyfg95ZIEDyqGYeOqH8aKQT30edTaN/H2MGqmc+jYKACVOK57pHjRhPoci AST/yloYzecIKnnBcbjpj2dzs1g79MHCrijdZ6oVzk56voSYDCwlQpuPp+NX55E97V+g ykwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date; bh=GlYc9aiXmC4Tglv1gHUbr+5nSPRgSY4NttebPBvA3sc=; b=Mb3ubRvbt/b4oWBG0lK57pYjsbydct5B1mJQmQ84v0Zfxvu/8a5qxBLZUWPstFmkes ACkbzNHa4dTDTp6fybt/1J0CJ040EIjaig9r5xtMix2o5crhLimx+rDvKV3jtYyihCRw BXX0CLwV2ugvbrk62waQh+4lue0VMDwiwTJ2U8Fp0umQGFNohv2ibGz6HgthEn3gzcRL SSDC68urTZJYOO38AdCDBpEgvuerNdpQ+sEQNeQnBCFpZ7TgihvMNJ/YjBYt4YOwMyMT kVzZHt55OEzGB+uL30oh3c+w38beqH/YrlKI3eptg1Oy8ARWF6CfwGn3F8aOvLSPzemK bftg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id t16si247929wmi.3.2021.01.19.08.31.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jan 2021 08:31:10 -0800 (PST) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 10JGV7gN015336 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Jan 2021 17:31:09 +0100 Date: Tue, 19 Jan 2021 17:31:07 +0100 From: Baurzhan Ismagulov To: Felix Moessbauer Cc: isar-users@googlegroups.com, adriaan.schmidt@siemens.com, henning.schild@siemens.com, jan.kiszka@siemens.com Subject: Re: [PATCH 1/1] RFC: Package perf from linux kernel tools Message-ID: <20210119163107.GW22444@yssyq.m.ilbers.de> Mail-Followup-To: Felix Moessbauer , isar-users@googlegroups.com, adriaan.schmidt@siemens.com, henning.schild@siemens.com, jan.kiszka@siemens.com References: <20210119124157.12662-1-felix.moessbauer@siemens.com> <20210119124157.12662-2-felix.moessbauer@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210119124157.12662-2-felix.moessbauer@siemens.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: NOEyE6SpeqY5 Hello Felix, On Tue, Jan 19, 2021 at 01:41:58PM +0100, Felix Moessbauer wrote: > This patch adds the linux-perf-4.19 package for a kernel > that is build with ISAR. > As the perf binaries have to be version specific, we patch > the corresponding files from the kernel tools source to incorporate > the major and minor version number. > These patches are copied over from the official debianization of perf > that is done in the src:linux package. > Additionally, we package the perf python bindings as well and provide > them as module "perf_4_19" (in the tools-perf-python.patch). > > As this debianization is not part of the kernel receipt, the perf Suggest "receipt" -> "recipe". > package can be based on a different patch version of the kernel. > While this might be intended, it is now the responibility of the > user to ensure that both the kernel and the linux-perf- > packages are compatible. ... > .../linux-perf/files/tools-perf-install.patch | 58 +++++++++ > .../linux-perf/files/tools-perf-python.patch | 55 ++++++++ > .../linux-perf/files/tools-perf-version.patch | 119 ++++++++++++++++++ The patches look common sense to me; ideally, it would be better to handle that in the kernel and have a single kernel source package. I wonder why Debian hasn't upstreamed that yet -- whether there were any technical problems, or just no one happened to look at that. That said, I personally could live with this till we have a better solution. If nothing works, maybe we could relax the goal of being able to build any given kernel version and experiment with conditional execution paths. With kind regards, Baurzhan.