Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp411618rwl; Wed, 9 Aug 2023 17:03:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYs52XebQqTInx/sF53X3ccqfdoDNMy+htcUPCyIdYgBxQQpAZKrXuiEOIuIRLbNNJcpDM X-Received: by 2002:a05:6a21:2716:b0:132:8620:8d21 with SMTP id rm22-20020a056a21271600b0013286208d21mr817150pzb.58.1691625803032; Wed, 09 Aug 2023 17:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691625803; cv=none; d=google.com; s=arc-20160816; b=pDntlCh4OBHc+TOiw18hfZMOPk4cyYmZHfEvWVqYmhwF3+CynYiEoTLSKkYniCOoqT w/PFnoGpoUGGy3/MlXLEBU7sLj4ATezV1KEGlpgQfabi8J+a48VWBnfjL4x0KBxZoV05 LAyK5nX0inZaDODFe2guL/nNLZ7+NHoL44Z3eR61ld1M/HmGR+g11eoYteubpq1zfMAm CuWaVfXGyPHguzviN3YZidJ8w49fsBa+axGEJK3zjr9K914VWdmSrMN7xBnJBhjiXu/4 gKbY+oHgM0UR7FgOzeO6Avsa1iuckUULpzhwQJglpXm7cKJJQdok8ajvYrRWvuRNXJO5 NEzA== 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 :dkim-signature; bh=eX5nWD6nwZ0YC8lAKmlrsyt9YLZW2gcQQXpVISIcYTw=; fh=3tOsHFOPrz73fWsjLWz5CRN0JnKYO9S3BWg0xZUQLtM=; b=fSyaJHaEW+AMSiVNqOEOMODUd1aJDEA3P/tpSg1gL/tTc1+d0igTQ8m48NtWESEtro mKytyDzK1lhEBsIDu23unh4CQPObEIERinBvUYSv2i56KzuJO2+K42Smp9tsmdEvNkvX cvZ9iYJshyEWB/rGm6Ow8me1g99upU+QNyTrdVKouo1P+9m60Z1HqkaTrsXjjMLHOW20 q6udBTziIhFRQwOc774V0xR8M3nPiQqCSmo1DWqMizqYPFjBRfgIFfuXXdujxp21zwop 4lEW92PLv3bC7aLRg9QZel/MWDScDTu18pw18ciOE0QOx0YuxezUojOdhsZkeioLFfet 3rmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=AJNodbB7; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y26-20020a056a001c9a00b006873d2a507fsi315672pfw.44.2023.08.09.17.03.04; Wed, 09 Aug 2023 17:03:23 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=AJNodbB7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231612AbjHIXWy (ORCPT + 99 others); Wed, 9 Aug 2023 19:22:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231223AbjHIXWx (ORCPT ); Wed, 9 Aug 2023 19:22:53 -0400 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8F4CE7C; Wed, 9 Aug 2023 16:22:52 -0700 (PDT) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-584034c706dso5105127b3.1; Wed, 09 Aug 2023 16:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691623372; x=1692228172; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eX5nWD6nwZ0YC8lAKmlrsyt9YLZW2gcQQXpVISIcYTw=; b=AJNodbB7pULEKvvBelok1Ue8AtbYE5YoY2LJFzSuTvJ2057iIwbUJkFxbNtk6HWbaG OIhJvq/ESdzOfHt51sFqcN2+IiZkiHstvhGAnaKI3CwLt+90qu87wZ32eeQjPiYJvucb pE9pwsVFYRtWQyJkrWEEUL7eFaLUFWu7DcC9fwHRy7dAu6A17Bp0yrcA0ccFkgkHHb/f kQNbKOrSQk+kU1CWvILxr81y/MuNUCLWIhhhsLaun/IfBf/U9VmjdYzN8K92DQd+7OCF TvDfMcBS+NG5fIpf/o6fopNkk/sTEBAdfVOTbVqyb3PF7EdSc45YGPyKCZL/4N7XePmQ i9DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691623372; x=1692228172; 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=eX5nWD6nwZ0YC8lAKmlrsyt9YLZW2gcQQXpVISIcYTw=; b=ScFKtiddaJdvEpFgu36JNMl4bxEVnfImmTQEnu1F7Oi7/jVFEO78gradjJHGMQC7kS LrjiwvD/+yiPLX18NefhL2CCCAQzzZ8TfUolfTMFQQdPtcIfCm0sJr1q3XsQ2ciZQWaJ 8CkcUt8dtuofFFVND8aYDmDNFZIOWNhG1KchTSVRamoVx3z9kBTTt2XQgdvfkrvujnx4 BpCAh42wUUzPrdWdf49+y/wNyZANDUblgjvpJL6Q6i3/+pklg3aN8vqx9sVoZ8//t3ZL WjF9JICDLVJ3PNB2fmlJsZy0Dlj2x9yw9IFFvyShjeeo8TyniC3vJVSEWnkPuMTFt154 b/Ng== X-Gm-Message-State: AOJu0YySg0jIAAYLLgf79tQayF46BIDYxbPJohd9DqL7VxgZLu+aUVzd tuu6oVj2WObkeQr3l74LKjpVe5QLIK7KEe1r0CE= X-Received: by 2002:a0d:d602:0:b0:559:ed0a:96c4 with SMTP id y2-20020a0dd602000000b00559ed0a96c4mr779650ywd.44.1691623372031; Wed, 09 Aug 2023 16:22:52 -0700 (PDT) MIME-Version: 1.0 References: <20230704052136.155445-1-andrea.righi@canonical.com> In-Reply-To: <20230704052136.155445-1-andrea.righi@canonical.com> From: Miguel Ojeda Date: Thu, 10 Aug 2023 01:22:41 +0200 Message-ID: Subject: Re: [PATCH] btf, scripts: rust: drop is_rust_module.sh To: Andrea Righi Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Tom Rix , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, bpf , Martin KaFai Lau , Arnaldo Carvalho de Melo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 On Tue, Jul 4, 2023 at 7:21=E2=80=AFAM Andrea Righi wrote: > > With commit c1177979af9c ("btf, scripts: Exclude Rust CUs with pahole") > we are now able to use pahole directly to identify Rust compilation > units (CUs) and exclude them from generating BTF debugging information > (when DEBUG_INFO_BTF is enabled). > > And if pahole doesn't support the --lang-exclude flag, we can't enable > both RUST and DEBUG_INFO_BTF at the same time. > > So, in any case, the script is_rust_module.sh is just redundant and we > can drop it. > > NOTE: we may also be able to drop the "Rust loadable module" mark > inside Rust modules, but it seems safer to keep it for now to make sure > we are not breaking any external tool that may potentially rely on it. > > Signed-off-by: Andrea Righi Applied to `rust-next` -- thanks everyone, and Andrea and Daniel for confirming my summary/recollection sounded right in the other message. Cheers, Miguel