Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2228664rdb; Thu, 21 Sep 2023 12:09:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IErNlUqka0sRsGyFwR4AtgL53ioaO4zbZHzW2RxK8ELXPNepownmtG964EKpFU+A2OfNysY X-Received: by 2002:a17:902:e881:b0:1c3:6667:5ff1 with SMTP id w1-20020a170902e88100b001c366675ff1mr7178091plg.27.1695323363267; Thu, 21 Sep 2023 12:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695323363; cv=none; d=google.com; s=arc-20160816; b=k3DH+LtkbKBpx7sJPlJD1hCMcrR+Xa/un+x2BeR9OgA4sXpvp3AnQuNpK5Qzo9oy9O xISkdYaNEB8AEf1he/0bgnKigTQAWTLEB/4qetkdbt+IpVluCDYReL5szmXFbfiCEobR WnLPfsTvgAEvPi37ZwV/vI2c/DOP1dc4zYnciP/hmM1IFvRpzxMdGXKqqF05nNe2nbd6 76mFDvQBgIN3YwzQC8nx8MD79D132Cz0f2D8B17tOMBA6cSwpWki5KivRYpaYkIxf3pA oNXrg5JzVtF6lxC9vDcXXetAD6woFFmq690zhvfgwKaTC2evrp6Jgvjdw7K1j7L2t8p3 dsug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=l0vVg4vzrD5YxtkF56IpL6M4NUJaeE+SELMH23lZv0I=; fh=c+B39/W7gi6UuE/2FGi+kag3+WUhdmk9sL2dbCycGCw=; b=bEUaMTv0JPiKT8akEL/mFU6JKH4a2XHovpwmComJPkZKNbHYK8LFgPFa0q5zxKs3Zt BVTfCTl4ueRDsnrpJj268zHXSqcUlnI/fo+U+3K6RwCR4O5NnAPY8QZ/VXVJaRwYKQ1w cZOFxHfOnWod0sY0pgQhBfnIVfxGZvkCCJv7dB3r/+2MiLoFjBi6QWL7O4ioVecJ74Vi OOlPpgm7M5KVu1TZmOKbePeOO5zh34HnCMRcH45ZTWjDLdXf8PIVgbCChk3iiPOqOXA6 z8JeHiM8PyIMkZgGfMHUVlzsNm10k12/kVarOi47knIvQDhZwE+w3D0zxSAj5oR+bWcm +c4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id q15-20020a17090311cf00b001c5cf1c30d8si2082056plh.367.2023.09.21.12.09.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 12:09:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 2BF6E804ADAD; Thu, 21 Sep 2023 11:59:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229924AbjIUS5I convert rfc822-to-8bit (ORCPT + 99 others); Thu, 21 Sep 2023 14:57:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230412AbjIUS4v (ORCPT ); Thu, 21 Sep 2023 14:56:51 -0400 Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7C15880A9; Thu, 21 Sep 2023 11:50:48 -0700 (PDT) Received: by mail-io1-f53.google.com with SMTP id ca18e2360f4ac-79f8e4108c3so26471939f.3; Thu, 21 Sep 2023 11:50:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695322248; x=1695927048; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QTCB/fZzCKUJjiugycN3hEkm9G+K0NXzOwFX7H37ARA=; b=KkSgJGJLx5cjMH6442wjLtLTHj75WWTP+JXL8K8tmbqUbohdxmh3daTcxlf1KjcoD7 VcmIydNufwsnyinii7ppyDzWO9IwEIc+Cb31AgO6trrNh4iYucW+PzzaspG6j3gam100 5TtSHZLt6jtB/ztiAwJ3PMbJx1hw5Hk4HWdPg2knIfaheV/tCXJwmgtxps1NwywjSmuL YWW6Yvz4k3ME/YXWFnRK47qJMAqegdPgR6BSa+AVIOfHwaYfJoZBcq8vZf6hKl9Lmexp cENAzu1Deslgf8srgr/0e9LWA5QF+jzi3an1PBjcnxuDVtaU9g6tdb6+HBWkefIgJ7XZ 6c4A== X-Gm-Message-State: AOJu0YyskP09iswD2MTCHw+bd2KJ6bgto9zHtJ/mN4zEnrU9rIBjSw1K nJwLi9pUKAOMNw0VtcNirFu9/ZE5MIi6tWYwqdM= X-Received: by 2002:a6b:7e43:0:b0:786:25a3:ef30 with SMTP id k3-20020a6b7e43000000b0078625a3ef30mr7164735ioq.7.1695322248008; Thu, 21 Sep 2023 11:50:48 -0700 (PDT) MIME-Version: 1.0 References: <20230914211948.814999-1-irogers@google.com> In-Reply-To: From: Namhyung Kim Date: Thu, 21 Sep 2023 11:50:31 -0700 Message-ID: Subject: Re: [PATCH v1 0/5] Enable BPF skeletons by default To: Ian Rogers Cc: Arnaldo Carvalho de Melo , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Thu, 21 Sep 2023 11:59:49 -0700 (PDT) On Tue, Sep 19, 2023 at 9:11 PM Namhyung Kim wrote: > > On Tue, Sep 19, 2023 at 8:40 AM Ian Rogers wrote: > > > > On Tue, Sep 19, 2023 at 6:16 AM Arnaldo Carvalho de Melo > > wrote: > > > > > > 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? > > > > I don't see more verbosity. Logs below. > > I don't see it either. Applied to perf-tools-next, thanks!