Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4677406iob; Sun, 8 May 2022 21:38:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2NaQsDnngD8/Usejexz5IdQDOQDvzBcZcfwTTDLXWPEm/suphvRKxHC112f1FsSw/ilUh X-Received: by 2002:a17:903:244b:b0:15e:9b15:4890 with SMTP id l11-20020a170903244b00b0015e9b154890mr14910999pls.160.1652071137039; Sun, 08 May 2022 21:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652071137; cv=none; d=google.com; s=arc-20160816; b=xgImAl4+vniZVoHoP8QpOoZX7RpQP73lExTHMma8wtdwmnaoR9rfCwS2zjb2HTmuci qtUMcanqwYEraqa22ru03IdS9xvqMBCKTAhBHPyfdc52T3Au1S37BUomHfoUURShQxWp Xo9662OXNNDy9CrUAPyB+8ec47ZNc+M+z8ahqBzyoc0dTb8dzPuYylAHkL3LHbTwK1R2 TTrxAEyj3MW7YRdMI+6jc4Oc8gULk6+BM9CmO/ZFgS5nEYGb6EpnViPGHjzu793M9s2A I9ElgCirDhimBUrBCaMTBRr75PVtpWOMV/pRvEzETNoQmyyEJc83FuRssoIKHejLCppP Z68A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sIQWyqXvIIq9sD3XM20r5zKTpkRZMWgEiouQek1gd3Y=; b=pKv4clo+BB5KdonhJ1neIn4cIKDMB53OPQXhrgSF5ChsTHqzquw1CDXWvCNGRKVgqe j/HmHaJrshEy4+4qxyFLafghsy+UvcuZVaaMgesEImUGP0gUWG4aBIA8vA6NhUq3EDkO stZapLtRql0n16RevutAoul6G5ysK6o+W5NZl96EF5wboNe8HHMGWcmm0OvkOjRejot0 bMAngkBcVZudybiZ5hoXJ2ZrOGCQ6B3WzjNIuUoE94ZUGDY498o7NKfwu0PwS66BBfVN SNMeC7RJzULOacq24K+OTPfgjjdoB0yBG/46TGtrXKGo8KYWj2sqYg+ocI0LNMvJppEt 0xsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WWj4C6F5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k1-20020a170902ba8100b0015ebfc18d5esi9264762pls.582.2022.05.08.21.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 21:38:57 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WWj4C6F5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD1BD1230FC; Sun, 8 May 2022 21:38:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1445175AbiEGBdM (ORCPT + 99 others); Fri, 6 May 2022 21:33:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236738AbiEGBdL (ORCPT ); Fri, 6 May 2022 21:33:11 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CBC870921 for ; Fri, 6 May 2022 18:29:26 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id k27so10463085edk.4 for ; Fri, 06 May 2022 18:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sIQWyqXvIIq9sD3XM20r5zKTpkRZMWgEiouQek1gd3Y=; b=WWj4C6F5RGEX4dE9POSrNe1/+NzxSscKgUQs1Ognjq4KCxFMsJ79jg9aA4P06w11FB FAkIfigQsxdvYcy3m3SYCvCSjdxQ9r8ueIyShwc+abHKYixmQfeTIAzFn28gw4rVP6L4 t0YsPGj8OaZmJH7AlnWtt8zx3jBW6RYg0HozpmjIekMlUlX8P8cxRohm+j3ZY9nGhP9d MZY96nbatPhomFTvuibWDU6Ewstm3GT6IeVZyzaKPSLM4RUSfZzHo4WZbHjX3QKzgdeV twR3yOgbRebFZ9qemBLaNMELrRP5rSyqQ1AMj2rC+Fiw+bvYIRes+fMMjTES908RseeI bS/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sIQWyqXvIIq9sD3XM20r5zKTpkRZMWgEiouQek1gd3Y=; b=f5C9VxJazX5c7RHDgXWs9G43dPhUQfZaFLKm3pfmYppuHvyksT9ENfhl5v2XtkhUMh 4LTtfaICR+rqyVH1LLTzLkWw+m9yEH9PppaDskbogDfmwKVewyEhE+cEWtMnjuC35tAu m30txH/v7yjLDSAgo3+1pgYhwchP4VY926Mo1SewpkaXCykZAzKEsxOJ91EO61UwPuJL w57LRxmqsQmPfeSj75GdgF6z0Deg/Bq0M+SWnoCZ8pQbEOc6KEXDmP3EUKFn9O6j1YeT u29GbV0hJDcoZG8ePoBLslIk0nAb/jWWv1o82/sasdU95tjAjli3fZoYZ5WUccWlScyB syFA== X-Gm-Message-State: AOAM533RjPRJQpgvh8Mc9jmpzlPwg9LLocgI3JWtzJ5LFrLb9lrszPxD xBoRF/DLrz6/Ypj4o+Uv38vQTkk2XvnFLywi0IA= X-Received: by 2002:a05:6402:1d48:b0:427:e039:9262 with SMTP id dz8-20020a0564021d4800b00427e0399262mr6564374edb.148.1651886964565; Fri, 06 May 2022 18:29:24 -0700 (PDT) MIME-Version: 1.0 References: <2fb2bc4e857848c83cfa96483e4b25b23d46be49.1651516951.git.jpoimboe@redhat.com> <20220506152601.z4f3bachnyfeqgzf@treble> In-Reply-To: <20220506152601.z4f3bachnyfeqgzf@treble> From: Kaiwan N Billimoria Date: Sat, 7 May 2022 06:59:08 +0530 Message-ID: Subject: Re: [PATCH] scripts/faddr2line: Only use text symbols to calculate function size To: Josh Poimboeuf Cc: Josh Poimboeuf , Peter Zijlstra , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Fri, May 6, 2022 at 8:56 PM Josh Poimboeuf wrote: > > On Fri, May 06, 2022 at 11:34:00AM +0530, Kaiwan N Billimoria wrote: > > Hi Josh, > > > > Unfortunately, it didn't work with my test case (as before): > > $ <...>/linux-5.10.60/scripts/faddr2line ./oops_tryv2.ko do_the_work+0x124 > > bad symbol size: base: 0x0000000000000000 end: 0x0000000000000000 > > $ > > > > What _did_ work was the earlier (much longer) patch you'd sent (your > > email dt 20 Jan 2022), > > Could you pl recheck... > > (As before, i have the test case module here: > > https://github.com/PacktPublishing/Linux-Kernel-Debugging/tree/main/ch7/oops_tryv2 > > Sorry, I totally managed to forget that I rewrote the whole script: > > https://lkml.kernel.org/lkml/20220120171751.gibauc4zovoskjns@treble > > IIRC, that was the one that fixed your issue. Let me go clean that one > up... Yup ! that's the one > > -- > Josh