Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp583079rdh; Thu, 26 Oct 2023 09:59:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHu2ySa9gK2SCAIZakwGVu7tZxK4ad6zGhTy5XapTYOIjxxDo90vsVT5HybNrB1MwS5KAYi X-Received: by 2002:a05:6808:2c8:b0:3b2:ef9c:d1b1 with SMTP id a8-20020a05680802c800b003b2ef9cd1b1mr19066190oid.6.1698339552173; Thu, 26 Oct 2023 09:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698339552; cv=none; d=google.com; s=arc-20160816; b=KP+S7f9qzwC8lQLVdVqp4xjEiyMhZJv4X7AjrX+li6snqB1eduvvnYaqb1w1BPEFV0 jOL6lhEMJVqC9KkyJTqQDDl9BAyilKa5J1ken3Q1+LT5ILFuOD+jVi134Ze1WzQJL8ER Gc+4Qz59AwDbDK1hPFW6RaL3NLvQuXjXdUi7a7i1Hgo/cCDYU4CtgqN+3Fnrl7CRo2aA b2C6u8uHhYgxeufYq3Di/uzFU2b3j8PqgL50/IbCw3kd+It737QK2zlBOkH1Y88S4oAs 8C33euzXKWs7gNv4WeP6ieXM7KQdcQhE8AWvF3DeymrDCWCC2sFMiISyXsNudp28WvVL PF/g== 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=2My7dzj7Sa0rgTJc/yeT+l3xQqlYTaObutNlMsCM2Jk=; fh=fpF5kYRpC7nFu/fpI3IeUfVjQqLAUOwoKQ83FCk+R2c=; b=OQJ9QAaGLhKBU/t2hbv41vb3fLGrfWRB8VVoaBLy8DhNipGtcg++F58tp/TqfvbEt4 xiCHCpyBZdR41n/WN6IVWfl/bp8GGdXEO3PoP4un6rSbuLEXToywLYOZP+rv9wIU3l/B 5HKNtK7pWDPGZciwEbjWnW7kGRjz2VdJFUmFXKZew7LxY4/6p6Rv2UH3VA6AImXHw2LK 8rwvlt7LHg79A3LWOMV59ihA1XTrTt5plNFgftq23BnThbZlNdL7sxK3BFf0koOomljN ZtboKtjS1oC1/v/XxpxeTCe63vX1wJi8SQTIuqPFe8JJLkX267OsgH4bbVjNGbSqHzJp RDOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="MnFU/W3v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id n70-20020a252749000000b00da0c75b059esi922241ybn.606.2023.10.26.09.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 09:59:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="MnFU/W3v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id D8A9680BB1CB; Thu, 26 Oct 2023 09:58:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbjJZQ6q (ORCPT + 99 others); Thu, 26 Oct 2023 12:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjJZQ6p (ORCPT ); Thu, 26 Oct 2023 12:58:45 -0400 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43F2A187; Thu, 26 Oct 2023 09:58:43 -0700 (PDT) Received: by mail-oi1-x22c.google.com with SMTP id 5614622812f47-3b4145e887bso625389b6e.3; Thu, 26 Oct 2023 09:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698339522; x=1698944322; darn=vger.kernel.org; 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=2My7dzj7Sa0rgTJc/yeT+l3xQqlYTaObutNlMsCM2Jk=; b=MnFU/W3vk7jj3RVRK1fLMfji3Dde0bSWQVYdbL9Un1JAhWVkOi38adM9PJ5HWe0bAN mkp2kPFmhLaYBsU1TVchsj5z6Q0sDru4qyLXCYPWbMhRduW28KN9uUYQypCWW6ZyffdT U6hic/0pCB/8ajML6u2TwPoK598yrjbiDeLe/9iaXiuSTC340gf5VSWRXHk8BVJb5Ury d3BMjgi0/S7eP3+4Sm6PwoA9VLPe4pl+Z0M9sOIfYV/ZzOs/q7CAo/Upm6bQrrB9c5yw 5qHLyBiX4j+dljsmMr62HlwXHiYFA9POS5jtk/t03HDqAPeAn2TbsNjcbyRixcPkrg0n f/qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698339522; x=1698944322; 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=2My7dzj7Sa0rgTJc/yeT+l3xQqlYTaObutNlMsCM2Jk=; b=eaCoRc8UAuGSragxdAUfORnVsP1Vi/+ohvDkE1EbtlHduXtYQEEbvKw2O8ipcWAllD 2PBUQTWMzoTzRsIdnQ0MYMC62uRKUIPXROqspRt788CEcaJmPHJ0/ZNVUZj8vHUY9I1X dk43Sa/1x6M6aqMfDPjg1vF28RTgUx8HfuKw4vSJu03TXz11MfodbuMRXPkiS3PJupsX P0j22AMXIeEIdUSHq6+u3Y2Nlj3LzrKxTZ1GPyCmQeJ5zBPOrfRspM2h2EFN9tPec0M+ v5P3XnuYnVm8H3nwGGFOLdC1FYScEKQ/Lpy4sJ3D5Yj4uJLSWkbsJxIxQCRSMtnOuJtV b7kQ== X-Gm-Message-State: AOJu0YzJxSuDaAE6ffWZOnZNnhGLF16+zI0HKDDjZKTcQhoY1cYstym/ bZV5VdDoQGqQgcUU+uX7wgm2/oD1JjRqV1l+HcE= X-Received: by 2002:a05:6808:4d3:b0:3a7:2524:6d3b with SMTP id a19-20020a05680804d300b003a725246d3bmr18779047oie.12.1698339522590; Thu, 26 Oct 2023 09:58:42 -0700 (PDT) MIME-Version: 1.0 References: <20231024201157.748254-1-alessandro.carminati@gmail.com> <5776666.DvuYhMxLoT@pwmachine> <2162048.irdbgypaU6@pwmachine> In-Reply-To: <2162048.irdbgypaU6@pwmachine> From: Alessandro Carminati Date: Thu, 26 Oct 2023 18:58:06 +0200 Message-ID: Subject: Re: [PATCH v6] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms To: Francis Laniel Cc: Masahiro Yamada , Masami Hiramatsu , Steven Rostedt , Daniel Bristot de Oliveira , Josh Poimboeuf , Luis Chamberlain , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Alexander Lobakin , Nick Alcock , Kris Van Hees , Eugene Loh , Viktor Malik , Petr Mladek , Tom Rix , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 26 Oct 2023 09:58:54 -0700 (PDT) Hello Francis, Il giorno gio 26 ott 2023 alle ore 18:01 Francis Laniel ha scritto: > > Hi! > > > Le mercredi 25 octobre 2023, 21:33:43 EEST Alessandro Carminati a =C3=A9c= rit : > > Hi Francis, > > Thanks a lot for your feedback! > > You are welcome! > > > Il giorno mer 25 ott 2023 alle ore 15:21 Francis Laniel > > > > /* SNIP */ > > > > debug >=3D DebugLevel.INFO.value: > > > Shouldn't this rather test nmdata? > > > > Not sure to understand this feedback. > > Sorry, this was not clear. > Rather than testing vmlinux_file, shouldn't you test nmdata_file? Now I see your point. If the assumption is that scripts/kas_alias.py is triggered by scripts/link-vmlinux.sh I dare to say that it makes no difference. But, since the purpose of this work is to manipulate the nmdata_file, using it is probably fitting more the use case. > > > Best regards. > > Thank you for the precious suggestions. Regards Alessandro