Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp316512pxb; Wed, 20 Apr 2022 23:44:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyQ8zT5Dbu1jta+Zzf4S8ZM0vo7xcKHHWx1RTRtJ29btws5/AwHzLIXWTpXwWDYusEo5nm X-Received: by 2002:a05:6402:d4c:b0:410:a415:fd95 with SMTP id ec12-20020a0564020d4c00b00410a415fd95mr27263526edb.288.1650523447600; Wed, 20 Apr 2022 23:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650523447; cv=none; d=google.com; s=arc-20160816; b=P1jhnodLWi237C7C7D+0HdAjX9asYP0spWLJsjzarISGK5pMfjZeZI+2bqapa9UnxQ r6ZUReXR3XKHvhzUoCl5aJYeiAh0UYXZrzmNXzCKUOb1DXJK4ySp+udP9fNq6Aw8QiAz sCflAGrOvbPR1lRPN2pd8YczyqnPjmAx9UxZ4twBJv69e2Lpeykabp7tAt8nThyO959S SOpTiGQmfdO3E00iUxhH8HnHRcdeyUWFz/tvmjQaQeQNfK4NBAR4ZadsjsN5o5ZMp5Nr i/wgoHyXIu2LTwLql9RPRGvSvHcSi5OJUJwOOGQgWlB3qYFicYEZ2bDjhrDOcE1+7GTZ 80sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=o5T9nq6itiWdeOCklnIj5wtBwKLc6I38VgoBSfyzY8c=; b=xlr9YoRM11YUpTbgtG/DVtKHSH8Bdn1+FQv8U6iQsZFXuc3h76GzMFwelU9+xve5lT /rvoSMbp8OcctaTps9gRJd756WWPmioxsO34qCKp57mTGKfB7HdpURMcPa6FDIqDDOTx FYbWK/s2oKyHrbFCP+lv9H/Ril1ooCXwxMSRavAtqyapvahqmx4S+qUy+cNvVIPmU+R4 nD8s9o7cChDAPbweuYyJrB/+Vuz2atE+MQRCFC533kVSaPqsLJBP2T/P2fKAIcpmYJ9+ ZBDvztYSi57eAiwUQa6NkmDGTz7b/HLliYbLKXmgNDGK2sqspt1tiH5qx290JyQQ55Ek jxMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=A0YpIo9M; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a056402280600b00418c2b5bf37si3395134ede.537.2022.04.20.23.43.43; Wed, 20 Apr 2022 23:44:07 -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=@infradead.org header.s=bombadil.20210309 header.b=A0YpIo9M; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380169AbiDTPZE (ORCPT + 99 others); Wed, 20 Apr 2022 11:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380181AbiDTPYx (ORCPT ); Wed, 20 Apr 2022 11:24:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 567B9457A8 for ; Wed, 20 Apr 2022 08:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=o5T9nq6itiWdeOCklnIj5wtBwKLc6I38VgoBSfyzY8c=; b=A0YpIo9MeVP516pMQlK26uzSI4 b6ccpDwNfeJzycbPyHdlKqM7v54iE9XINt2FLLDrNbdzQzHdQzgdQHLXE1blgbSD2XUYUizIDqSuO oPPuhGFed1f1uqwOnaPn1xuP63GS1V/muFL1TMNI/bfJw/4Rwus5BBwiUgbP05e8LUViW0UnjLSFz tUlnXiOImWsGITNi4vHKfFzCvuOENmMOD9d4AvpqGXo8rhYayTNtJsfhowMY7LWBKaTqrgX9Ibob5 gB0dSFJiS7P3DD3gTAXpDDZYZ+5C2jHF9QUIaWgvPqCs/CpEa27HWWZXIIOgBfm7gZXZ8r32W4aOa RLnn0w8g==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhC9C-009YRZ-UU; Wed, 20 Apr 2022 15:21:38 +0000 Date: Wed, 20 Apr 2022 08:21:38 -0700 From: Luis Chamberlain To: Maninder Singh , Vimal Agrawal Cc: Petr Mladek , "rostedt@goodmis.org" , "senozhatsky@chromium.org" , "andriy.shevchenko@linux.intel.com" , "akpm@linux-foundation.org" , "wangkefeng.wang@huawei.com" , "wedsonaf@google.com" , "boqun.feng@gmail.com" , "christophe.leroy@csgroup.eu" , "swboyd@chromium.org" , "ojeda@kernel.org" , "ast@kernel.org" , "gary@garyguo.net" , "mbenes@suse.cz" , "ndesaulniers@google.com" , "void@manifault.com" , "jolsa@kernel.org" , "linux-kernel@vger.kernel.org" , Vaneet Narang , Onkarnath Subject: Re: [PATCH 1/1] kallsyms: add kallsyms_show_value definition in all cases Message-ID: References: <20220413055305.1768223-1-maninder1.s@samsung.com> <747830777.1512786.1650256482294@mail-kr5-3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <747830777.1512786.1650256482294@mail-kr5-3> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 Mon, Apr 18, 2022 at 10:04:42AM +0530, Maninder Singh wrote: > > What about splitting kallsyms.c into two source files where one > > would be always compiled? It would be usable also for the > > spring function introduced by > > https://lore.kernel.org/r/20220323164742.2984281-1-maninder1.s@samsung.com > > > > It might be something like kallsyms_full.c and/or kallsyms_tiny.c. > > > > This patch is not taken by Luis yet in module-tetsing branch. Please resend that patch, as I'm happy to route it in through modules-next [0]. I use modules-testing *prior* to pushing to modules-next, if 0-day does not complain after about a few days then I push to modules-next and this gets merged to linux-next. You can send that patch and then this one and include in the subject something like: [PATCH modules-next 1/1] Vimal, I'd like your review of these patches too. And after those we can see where your change fits / if it is still needed. [0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/?h=modules-next Luis