Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp687879rdb; Tue, 19 Sep 2023 07:28:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkkl5FJPAAMCL1BUTL+J2ZpK314GFsVS4pe6pODIPhBdX1nBXNIo4Mg4uDbhvUTorT2r55 X-Received: by 2002:a05:6a21:6da2:b0:151:9156:6067 with SMTP id wl34-20020a056a216da200b0015191566067mr12647878pzb.26.1695133690689; Tue, 19 Sep 2023 07:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695133690; cv=none; d=google.com; s=arc-20160816; b=CZ/ttRdCTD3AZJLKoXBdFlBW4DyeTVSnrpi9rbY1UMdm5k1R7EpHx0XAxsP6cFWsQW GMRc/UOTin8EAvbbxwYnhYYyiKMFc82EL9CLMHtREonMBgt1ulXXVrkoH0oFggfFYEfL /amSJJiOcvKqFwuBtOE3ZAWjrshF6b/8eO0mQt0XBexKLu5HPG5pPr4wV83m0EmJsgJ9 WbiqJ7iCNQkof0KiiDI1S4HOHGei9nSIKbm9LRKwjf0WtQbjH6qmIFScYkJGfa6wOZW5 kaRE7UWYD7QYCwwjlFPUNmjF0ke7KUsCEsMDfkaqisyJE3uWUkE4HqBEPixuwsV7gt1A KMww== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6935qsFufg8SR10Hejj2uNlmYimsAGLv9ENPWiUZGSY=; fh=6/yXY1rxxaOkVCLmHoxamUDUxztQckF12D1THWgdHlM=; b=F46v+gdvUP4HrNGmy1b6KtYbbZI0k2UIJTJPTEdzs+d5A6YqIptqCSgi4RO8CGHHdl fj+tmJzCPNFjOgbMNzBGqXL9+BqeHdliLFDy+3fmDAgkrvA1BSpLIcX3LbQrrawElBQ5 C56TDH0ht36QoUXi+3Y8HrTd+h5dNsK7lrPR6D9aLx1sLjy6qPWu+x1rDaJSP/YQIys4 aIpgCcUElUCtXfiR/dydKLe6ocjmK3shUVDFj+Ba8kafoD0zZVinvbPOuImnyBwGrxrT KSYWcRdyhvIq8bIQxTm8xz/Y+1zknLU3DfdL+88v/fQEmm9TftCwknixGwPcFQ5DDjaM iL2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MoNVqpVQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n6-20020a654cc6000000b00577f6b56757si9913298pgt.495.2023.09.19.07.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 07:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MoNVqpVQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CD2818029473; Tue, 19 Sep 2023 06:16:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232031AbjISNQu (ORCPT + 99 others); Tue, 19 Sep 2023 09:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjISNQs (ORCPT ); Tue, 19 Sep 2023 09:16:48 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21B7AF1; Tue, 19 Sep 2023 06:16:43 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 738B3C433C8; Tue, 19 Sep 2023 13:16:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695129402; bh=Tgx947AMX984xnlu4hGkPuGi+cgC/mGGmoaAgMZ9kF8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MoNVqpVQs/KdLWOrd11QjiNg3qHmz+zOP7mH9PZruHvJCBC65jY8f25Y8XdI7SB2j J33K++/dgnu/J+4jCKcqQz1Tbv9RTE0KdbXHaklBl3g/GydG3MjDlbgXp2IP80jyUe XAaybnL0twZ/IHlgZAXlruZJ6uXFrZtBstrYR1X4/uK39hFpbVRzh7ygJWqiEWgRW6 CzO3PJuI0JfonjDC5pPaJ9v8a8jmhAYjn0KxuwVAtbyPDek3uSAhl3FRrSdOf7Rypn MdloMtXODd4nYcT6QAD+pb+TFqL42J6QYZEe+ZUJwiNuNCKYSo0GORdXQ0fPzsaknh 02fhScU/Brbuw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 2AEC0406D9; Tue, 19 Sep 2023 15:16:40 +0200 (CEST) Date: Tue, 19 Sep 2023 15:16:40 +0200 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ian Rogers , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Nick Terrell , Nathan Chancellor , Nick Desaulniers , Tom Rix , Andrii Nakryiko , Tiezhu Yang , James Clark , Kajol Jain , Patrice Duroux , Athira Rajeev , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH v1 0/5] Enable BPF skeletons by default Message-ID: References: <20230914211948.814999-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 06:16:48 -0700 (PDT) Em Mon, Sep 18, 2023 at 04:40:15PM -0700, Namhyung Kim escreveu: > On Thu, Sep 14, 2023 at 2:20 PM Ian Rogers wrote: > > > > Enable BPF skeletons by default but warn don't fail if they can't be > > supported. This was the intended behavior for Linux 6.4 but it caused > > an issue captured in this thread: > > https://lore.kernel.org/lkml/20230503211801.897735-1-acme@kernel.org/ > > > > This issue isn't repeated here as the previous issue related to > > generating vmlinux.h, which is no longer performed by default as a > > checked-in vmlinux.h is used instead. > > > > Unlike with those changes, the BUILD_BPF_SKEL is kept and setting it > > to 0 disables BPF skeletons. Also, rather than fail the build due to a > > missed dependency, dependencies are checked and BPF skeletons disabled > > if they aren't present. > > > > Some related commits: > > b7a2d774c9c5 perf build: Add ability to build with a generated vmlinux.h > > a887466562b4 perf bpf skels: Stop using vmlinux.h generated from BTF, use subset of used structs + CO-RE > > a2af0f6b8ef7 perf build: Add system include paths to BPF builds > > 5be6cecda080 perf bpf skels: Make vmlinux.h use bpf.h and perf_event.h in source directory > > 9a2d5178b9d5 Revert "perf build: Make BUILD_BPF_SKEL default, rename to NO_BPF_SKEL" > > a887466562b4 perf bpf skels: Stop using vmlinux.h generated from BTF, use subset of used structs + CO-RE > > 1d7966547e11 perf build: Add warning for when vmlinux.h generation fails > > a980755beb5a perf build: Make BUILD_BPF_SKEL default, rename to NO_BPF_SKEL > > > > Ian Rogers (5): > > perf version: Add status of bpf skeletons > > perf build: Default BUILD_BPF_SKEL, warn/disable for missing deps > > perf test: Update build test for changed BPF skeleton defaults > > perf test: Ensure EXTRA_TESTS is covered in build test > > perf test: Detect off-cpu support from build options > > Tested-by: Namhyung Kim Is this verbose by default now? Maybe its something on my side, but I noticed a higher level of verbosity, can you check? - Arnaldo