Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1317279ybg; Wed, 29 Jul 2020 10:58:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzPlAnI5aPGRB8FqxEWSiw5zgBtMYsTmE0tjXj/IwQICYEHM3aTbXzIxcihrk1PKNI0dql X-Received: by 2002:a17:906:3655:: with SMTP id r21mr6464841ejb.248.1596045484987; Wed, 29 Jul 2020 10:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596045484; cv=none; d=google.com; s=arc-20160816; b=Nv3e6btX0EcplOL1YduQPkAvByySb6/yPqKAcFpqk/CR8i94SILfqVyZoegeXrsq+c lOODNdjfpmkSamear9xiES3dZXAw9RrIoJB9iMck2rPK8FwPGb90lCZa57MMODmf+v1P w/xM8M48OFi8cULAlzd3h7hw/BITx3y3LLJfxN5cGAiqtYdhP5v0BA0+5V77bF0N+EPB QwRun47uzyXNbl3HPg6OVtq0yi0WBTG0uDGuroFnW52OnYUqbGL3KMeUVjU3yCA12hQ0 8f0XPpjYzUDC8gnVFWgx7iGQgTba62UGwhLyaMxBn53Y2EfTH96ArhEbdJqDvvzJzUzy mjjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Iu5q9FAFEJTr1wG/2SN60o37oNGrKyqXOUcyn2ZlzlI=; b=f2KkBu1w5DU+WAtUli9YLsk5BkBYhij7nW41nERM9Za1Q1rgSlRooq67E5O69G55ip EDjIKOZvESQWZAuUglDX12SL8JZ3PDEPIvPOSo2st0zAgHAS/2yLKTNTsYfiYpoJBY45 TMxAREVBUaFiRVRNltqr3fD4GC9jdnt1mwSc0X8UerlcjEM60BByKy+SujHJ3oFmVBph YYCwULCauv2EI01cT471myqbxpminfT/3TL6HRG5VkNdGAEJhxRy2sMrPasIeT/RF9uo U3Vq0EQl+vcdrYwVAyykNbrslVGpeMIeRLJPoPHT52LXrLSxa2N2fPObt+WzMlknW6o8 uN4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si1564814ejb.647.2020.07.29.10.57.42; Wed, 29 Jul 2020 10:58:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726804AbgG2R5G (ORCPT + 99 others); Wed, 29 Jul 2020 13:57:06 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:56472 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbgG2R5G (ORCPT ); Wed, 29 Jul 2020 13:57:06 -0400 Received: from imap.altlinux.org (imap.altlinux.org [194.107.17.38]) by vmicros1.altlinux.org (Postfix) with ESMTP id 9FB3172CCDC; Wed, 29 Jul 2020 20:57:04 +0300 (MSK) Received: from altlinux.org (sole.flsd.net [185.75.180.6]) by imap.altlinux.org (Postfix) with ESMTPSA id 83A2B4A5036; Wed, 29 Jul 2020 20:57:04 +0300 (MSK) Date: Wed, 29 Jul 2020 20:57:04 +0300 From: Vitaly Chikunov To: Arnaldo Carvalho de Melo , peterz@infradead.org Cc: Ingo Molnar , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, "Dmitry V. Levin" Subject: Re: Should perf version match kernel version? Message-ID: <20200729175704.gsbh4gkbqxas5j2t@altlinux.org> References: <20200729155647.xte33krus3mak3wu@altlinux.org> <20200729160220.GB2655@hirez.programming.kicks-ass.net> <7CEC30D2-0C1E-4E88-A1D2-35C121EB1013@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <7CEC30D2-0C1E-4E88-A1D2-35C121EB1013@gmail.com> User-Agent: NeoMutt/20171215-106-ac61c7 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter, Arnaldo, On Wed, Jul 29, 2020 at 01:27:32PM -0300, Arnaldo Carvalho de Melo wrote: > > > On July 29, 2020 1:02:20 PM GMT-03:00, peterz@infradead.org wrote: > >On Wed, Jul 29, 2020 at 06:56:47PM +0300, Vitaly Chikunov wrote: > >> Hi, > >> > >> It seems that most distros try to have perf version to match with > >> running kernel version. Is is requirement? Would it be better to have > >> single perf from kernel mainline to work with any (older) kernel > >> version? > >> > >> We have different kernel versions in ALT Linux (stable for 4.19, 5.4, > >> and 5.7) and I want to understand if we should have three perfs or > >> single package will be enough. > > > >We strive to have it all compatible, older perf should work on newer > >kernel and newer perf should work on older kernel. > > > >How well it's all tested is another. > > > >Personally I often use a very old perf. > > Yeah, never was a requirement, if you find some problem using a new perf on an old kernel or the other way around, please report. That's great to know. Thanks for the answers!