Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp765671rwb; Fri, 18 Nov 2022 08:01:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf5RvNTdKPUTgnRIGmFAefvY5/VoiJE73J+OVegjjubzqLP1IVjbMlC04iADdQWSVDzj57L1 X-Received: by 2002:a17:903:3053:b0:17f:63a3:cb48 with SMTP id u19-20020a170903305300b0017f63a3cb48mr78606pla.123.1668787283506; Fri, 18 Nov 2022 08:01:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668787283; cv=none; d=google.com; s=arc-20160816; b=1ANSOBJSsYZz/Di1u91cNTcRuvTunsQmVPM2faB1WrT6+LAsklEFHPRD+6zhnOmLo3 STkAN0iU8k7oQllLxUi763wlnVApoc+a/3VeYh7tEXXI47EcsZs7BH/76Oa3rFBvetYu JHlL9r+lK1vv5YJhmQQIGhYkxhpM8UoUoz0+xgtMRGPziun/IBeWf+zPjIVCuw4YEXyB SWLj2qxuNR/NgY9wMDQoImo5fUzqi7wR1o539EAVZzIYVfVptNvEJgAYGqh14Bo6zKU8 8wkGxerVsPuLyYbm82xK+hm9TM9xo1xKjtByBHZsWcyUw9X3zJZCCbv1RFqJtzcTIzQA Rrng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gscMGXH1ez8Vd0BUWeVoDD9UfFeE2oxBqphINs9BCEU=; b=itRBobvIMTjsjAJ+USzRL2pQNAXYz6RJwuSh8Asja9I8rCNJ4znnJSS1TWACQqTksH IsOaPbkRbg1l60SFZz9qhgszxifJ62EXKDGfq1kV+bAaFX4MhwFHhOOWF0kVtJSw1zIw Zsa0DUxgpKrZghi+hTGDyyEfp+oXsm3as6CpAKUpUIc9WlZcl9zlTweOBEJlAJ+QWLg7 rTsz5UPcngqfUyR/16gxhylb2MIicbuARLFddtirUUDywZHgP6vKwyAvXJPjVw7j/bNC f9pk7IZI6sne/PLjgCk5Bcv4Fd4rmFO9bXJb+VHtRsugwJyJGL8JO0LrM50ha0Btr6zz 6LqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gDrEnbj2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ok5-20020a17090b1d4500b00202c8fa5c54si7477481pjb.95.2022.11.18.08.01.10; Fri, 18 Nov 2022 08:01:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gDrEnbj2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242098AbiKRPEi (ORCPT + 91 others); Fri, 18 Nov 2022 10:04:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235245AbiKRPDy (ORCPT ); Fri, 18 Nov 2022 10:03:54 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5148E8754F; Fri, 18 Nov 2022 07:02:42 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EC75C625B8; Fri, 18 Nov 2022 15:02:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26359C433C1; Fri, 18 Nov 2022 15:02:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668783761; bh=q3AdceVXKG17FUFJhMNAS25TG3DfWOjPsij2iCMaBiA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gDrEnbj2Mo97VZeksz+3qmlZnpoCjUFJoa2ujergiAYVL+IDswDXdUJ4P5ru2aPwZ A2/B9gZUVk0GWssEZKm4GwkGtPPnlvKvIUmPbDlspP2O8JVHkcKfVWIkGL6wglVF8j JUjBg0GNsfhf3e/LHobPQ7mUpM4jD2ogYjcAN0F6pkr4grraotVpC6hpZ8QZyHWUBy i1tBLOmicaMFvnH/texbDaLL5gzekQ9QDcdzRCQbmZ55x8FI8vZCbdtENVx1Xxwr6q 92Papa2KPTi1O/iyj/J2m4QhVDn9rkPANg9OqNpz2McNivOOHYtRvJ7dwwmHxtdgQB 6zxZr7iOqra3A== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id D8F784034E; Fri, 18 Nov 2022 12:02:38 -0300 (-03) Date: Fri, 18 Nov 2022 12:02:38 -0300 From: Arnaldo Carvalho de Melo To: Peter Zijlstra Cc: Ian Rogers , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Steven Rostedt , Masami Hiramatsu , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Steven Rostedt , Adrian Hunter , Linux Trace Devel , Stephane Eranian Subject: Re: [PATCH v1 1/2] perf build: Require libtraceevent from the system Message-ID: References: <20221117224952.358639-1-irogers@google.com> <20221117224952.358639-2-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Nov 18, 2022 at 10:30:45AM +0100, Peter Zijlstra escreveu: > On Thu, Nov 17, 2022 at 02:49:51PM -0800, Ian Rogers wrote: > > Unconditionally require libtraceevent to come from the system. Force > > the determination of the libtracefs version if it is present. > > -ENOMOTIVATION Yeah, I was going to ask for that as well :-\ And the motivation was spelled out in the discussion that led to this patch: https://lore.kernel.org/lkml/CAP-5=fWxAjEia-Qbm0RVzKOxyiod8rUOBieqaGK=DtQboDe3Qw@mail.gmail.com > also: > > Makefile.config:1196: *** Error: libtraceevent is missing, please install libtraceevent-dev. Stop. yeah, this probably should work like with other libraries, don't stop the build, just don't build features that depend on libtraceevent, warning the user that features foo, bar and baz won't be available. For people working with just hardware, software, cache events, no problem. - Arnaldo