Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1076853rdb; Tue, 19 Sep 2023 21:17:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQ88vdH8vUdltZ2fNZx0VSkvtTW95ZOGqPpHUq73gEC3TYCUcedwUKVC7uP3XoUjVaZd0q X-Received: by 2002:a05:6358:724f:b0:142:ff63:2a89 with SMTP id i15-20020a056358724f00b00142ff632a89mr2177789rwa.24.1695183462539; Tue, 19 Sep 2023 21:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695183462; cv=none; d=google.com; s=arc-20160816; b=eUC98HJ3MHbQYI/0fWhH3ICBVlAxSqzcZWQPzUx5wGG/Mwg45hiK4x4YvrEV6ZcX0Z dEWMpgMv4mEy+QnX3a54og5ZJwGTf5nLpDdq1X45Z4Gl2mjX/NqbHWhfD4//9LHntKeC Ps8clXg8X1PhlkjnqnhAdA5TOIfA1gWp8A4ldkIpesfcrAtJXNRfAVIHk2p+QFupDsd+ UciZ/6kBS0sIL/1yVJj1tuiSWwv+gx5Cjuhl5cY4IqhCipbYahVVe0yggt1ym8ZbUBS1 8mkVRPPZyoNfQilVIIrOdP8vsSYMNQjPKRPvG9fPEfUMUMzrL5ycoGIxF3/y6yVi92rb saWA== 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=qs/c2agmhz5e/qyGcwPubvW+yWmZeczvwQSZVOC2RNc=; fh=c+B39/W7gi6UuE/2FGi+kag3+WUhdmk9sL2dbCycGCw=; b=Sl8rle0FwQgICjSXg3JeBQS330HxpiNf1L4L2cmvanbPX/6jvGbDQpaK/MTDgzAHQO 1DOEvNGQgI2TUR8o/op7PLm/vZxvKwLFWqEibONxUkJIFoZn1N3X7LyQYfD7PggcFe9h l8X+gRP/vheSxf890aqSdQ3xn+9g6U+1cLgLlsZGJt+RVSLf0suUi/XNmbVHBKyxDh7K hcEyBM6ptm5dn1ie/7imoUqQtecA4B1regScCsjrq1esDrHevJNCAzyBCCBeylXOxmVR Qi7mzUm5cIf9g4xf8WHY11tgxXstnm6tlIqJcjf5GUGQgxjQtVKuWzaJtNYhMTGrcK79 pr+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id t22-20020a63eb16000000b005649cee422esi10802094pgh.464.2023.09.19.21.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 21:17:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 4FADC812D22D; Tue, 19 Sep 2023 21:12:05 -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 S232584AbjITEMG convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Sep 2023 00:12:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232602AbjITEME (ORCPT ); Wed, 20 Sep 2023 00:12:04 -0400 Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E845ACE; Tue, 19 Sep 2023 21:11:56 -0700 (PDT) Received: by mail-io1-f48.google.com with SMTP id ca18e2360f4ac-7927611c54bso254941739f.2; Tue, 19 Sep 2023 21:11:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695183116; x=1695787916; 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=5kQQlbHlUxfvLP9JSHJJYqYxl0q48pw7jR99N+jK2zs=; b=V5z09hhD1CTGAvIF/v+7P3D35K0D6v01R1PaKG95T/SvtLBmo4taqvPvvxcEspvurV Qh2Kd2wT39f0+2upYDelW0SrH4a3iy4Ibl0pMifk7u1z6CCfG/2R1mht8oXSPorue2/+ dw7sZCGIgLeEN35FKvdczwIAr8GtE8UAztSgnoRXwO7oJ9VJ8Cn9TJFtARC09xb4JSvR wB4fGYBNSPBF1kkk7/bLKdAq6xGo5EtQysR20Ms1Y5fNKxgCGK+5g8Ea03Sjooy3nzHn lITZ2qivVoIJcheBqYPcHpOzDpzxD8En0B8Qw7Hi+iZ96z9u88lo4bqAIf9ro3n/6xcM GL0w== X-Gm-Message-State: AOJu0Yz3+Db+/mlbh3pHMEKSQySAjAu6E1I1Y7MPPJ4E4u+bpg2GFAzy Acf53mF6bXrt3pCceaCnov+/CU8TWnGgdrDcALSpUwIb X-Received: by 2002:a5d:9e0f:0:b0:792:6963:df30 with SMTP id h15-20020a5d9e0f000000b007926963df30mr1606515ioh.0.1695183115828; Tue, 19 Sep 2023 21:11:55 -0700 (PDT) MIME-Version: 1.0 References: <20230914211948.814999-1-irogers@google.com> In-Reply-To: From: Namhyung Kim Date: Tue, 19 Sep 2023 21:11:44 -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.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 21:12:05 -0700 (PDT) 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. Thanks, Namhyung