Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4421005pxb; Mon, 21 Feb 2022 21:04:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzk4FdSS5Rhyil+yjHS66TSbdWGQWx5QOv9tlie4OR68OWd6abAy4hXCI+eWrQdFkjzeB/b X-Received: by 2002:a63:b60:0:b0:363:a273:42da with SMTP id a32-20020a630b60000000b00363a27342damr18421250pgl.239.1645506260800; Mon, 21 Feb 2022 21:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645506260; cv=none; d=google.com; s=arc-20160816; b=YFzU7JvU5xRKlRN9NwsHRTB6I3rdKPRzjYzNsk4u9FW3mY4UeIJ5XV6isRvtNcdaR2 DsoAIbZpsKxKtXRuMG8IZE7a5yF6tEdNF3QtRmPLZvMF6+cGtM4xdCcNyHK+tLfKAbaH BT9KPwJpCMhby+evUlyc1nWiUxXSuRz/DPF6kjbmasHaeATbOK8GeX1QYq6JtK08FjeH 5vNetuzxvfBmEslpCqwqOYN0Gol1lheHPDV3Dx+POsa1/jnlDAzpI/4yDaDxgrO3sy29 UXhxhmKKN9bXE8KfZZ6FVC/QQZGRQ8am8m6pOLK9DsKYhVVdcL3aDH54fcRzJQSDJ0F+ ZG9w== 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; bh=E89muBkuAoRPQI/URjcgZC5mWu1brezhlWB2xpbVazw=; b=VR5TEfoDLdD4KpRdFXJdFUEfV76gug50q2Uwyw/mMRgRa0QdNnLCOfRtcgpXl3Kpc+ 2n2WxsHvyLoQt/l/ArWGACa41nlbV8Ez58kkQPNbWIYcWmFTH4CyLcbi/VPd7sS0r8rG lNGFl2u4E0b2G37uhp31Zxiet9+uws/ipQEErWQBoKBTZJvsIapoOhPP+71D6fo+XHje EBzaGHu04011f5EBLWi9PYtfigT/y/IwuLodiWPdRlRuR66iZXQCHQnNc1ne7dw6k3Hp UHhbMJuvY/HicD7x0RSDy2KiUYhlxjN/ZrZNYLxwxEvXoHsDnlg9/aT3Iv/cEHIoaoBO z44w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x31si11920029pfh.311.2022.02.21.21.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 21:04:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 745737C15A; Mon, 21 Feb 2022 20:37:37 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357234AbiBUMCd (ORCPT + 99 others); Mon, 21 Feb 2022 07:02:33 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347238AbiBUMCb (ORCPT ); Mon, 21 Feb 2022 07:02:31 -0500 Received: from p3plsmtpa09-01.prod.phx3.secureserver.net (p3plsmtpa09-01.prod.phx3.secureserver.net [173.201.193.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC1D72BF8 for ; Mon, 21 Feb 2022 04:02:04 -0800 (PST) Received: from localhost ([82.17.115.212]) by :SMTPAUTH: with ESMTPA id M7OEn8BQ8VclJM7OFnYqq5; Mon, 21 Feb 2022 05:02:04 -0700 X-CMAE-Analysis: v=2.4 cv=K4LnowaI c=1 sm=1 tr=0 ts=62137f3c a=9gipVNR6X1CoIeAWHwLoWw==:117 a=9gipVNR6X1CoIeAWHwLoWw==:17 a=IkcTkHD0fZMA:10 a=20KFwNOVAAAA:8 a=_I3s7B_8TjLGI8JKYzcA:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: atomlin@atomlin.com Date: Mon, 21 Feb 2022 12:02:02 +0000 From: Aaron Tomlin To: Christophe Leroy Cc: Aaron Tomlin , "mcgrof@kernel.org" , "cl@linux.com" , "pmladek@suse.com" , "mbenes@suse.cz" , "akpm@linux-foundation.org" , "jeyu@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-modules@vger.kernel.org" , "live-patching@vger.kernel.org" , "ghalat@redhat.com" , "allen.lkml@gmail.com" , "joe@perches.com" , "msuchanek@suse.de" , "oleksandr@natalenko.name" Subject: Re: [PATCH v6 09/13] module: Move kallsyms support into a separate file Message-ID: <20220221120202.rsj3wqz2ycd2tgcm@ava.usersys.com> References: <20220218212511.887059-1-atomlin@redhat.com> <20220218212511.887059-10-atomlin@redhat.com> <40f31a7b-2d06-8316-1a88-128ba72518a5@csgroup.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40f31a7b-2d06-8316-1a88-128ba72518a5@csgroup.eu> X-CMAE-Envelope: MS4xfE57LHryfOCe9ugcfLRAXRce7zu0hGZXbsl4qZzo20gLnp5ecJHkCEp7nzcsG6IgDlPOV44dQdr6WNEnpRlGmoPtzLuhHw9jF813OiXpRRy5ZOjiP/16 lLrjxKwz/Mi+kvNMGqYh6DjB4BLH75z4DLaLN1y0urhCdue76NLrysu30FgXCySO6Dz7CvG8XPIncQCOL7hkIti3iDKOLlnnsqKxB71D7TL4sYgnK5yXhdz0 xuXMQaM4E2uavG3HJbn4fpbs9N0l0EouuXBq+yQgO4KLjZGjTxVHw5hgXYMc+tuXVm/0p/9WY6ToPiselsbbjvx/gD52yLL9rPB2DIhclaA9i4WCl1Y8JhXJ JcvO3Jzy2mSkMheiw7k853sXZjmHxKzQkPVer7VA2afXFf4Vknie1z2AsEeRw6amJ9x0hZXEEMWT98WcXBCzHc9S2Di9uFqy5lCp7uy4wPok8xDRAmjpvfPa H2s7DkmYiMY8QDQ+V/lmCCoQxy5AiPnflSMJee9a0a89JLEmc7gIWMwk/TFd2op6pZu1xEFvALP/9hzHRhtkDlk5sjA0lzUTYykwD4ddLDPK4mQR4aH3EXWe SLHFIGnAHe7Rwh95xJhCPZZoDMXQW6fg+9VlvMVGw+egRdLSszdT2BmUWqRKyQiD/GJop7J41gkDVPUj8tVNLZem X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,WEIRD_PORT 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 On Mon 2022-02-21 10:49 +0000, Christophe Leroy wrote: > Le 18/02/2022 à 22:25, Aaron Tomlin a écrit : > > No functional change. > > > > This patch migrates kallsyms code out of core module > > code kernel/module/kallsyms.c > > > > Signed-off-by: Aaron Tomlin > > --- > > kernel/module/Makefile | 1 + > > kernel/module/internal.h | 32 +++ > > kernel/module/kallsyms.c | 502 ++++++++++++++++++++++++++++++++++++ > > kernel/module/main.c | 531 +-------------------------------------- > > 4 files changed, 541 insertions(+), 525 deletions(-) > > create mode 100644 kernel/module/kallsyms.c > > > > CC kernel/module/main.o > kernel/module/main.c: In function 'load_module': > kernel/module/main.c:3379:9: error: implicit declaration of function > 'init_build_id' [-Werror=implicit-function-declaration] > 3379 | init_build_id(mod, info); > | ^~~~~~~~~~~~~ > cc1: some warnings being treated as errors > make[2]: *** [scripts/Makefile.build:288 : kernel/module/main.o] Erreur 1 Christophe, I assume both Kconfig option CONFIG_KALLSYMS and CONFIG_STACKTRACE_BUILD_ID was not enabled. I'll address this. Thanks, -- Aaron Tomlin