Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1738243pxb; Wed, 9 Feb 2022 03:31:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWYai2rG8j2wQ0Ufg7i2aQRlQwHSDnsrJzLJznO9lLcBOt20acUAo+g7Jy+i9hdbVWOTsj X-Received: by 2002:a17:902:e88b:: with SMTP id w11mr1693274plg.122.1644406291964; Wed, 09 Feb 2022 03:31:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644406291; cv=none; d=google.com; s=arc-20160816; b=a4CvnMcpVsThuLvDxPbuX9ZucTxoZVPWN37kll0HBykH/xDKXIyUWnPAKMePn7fMJ6 P+/mGBZkwp2lo4v7upNUytY0WEyChwyx1+FCGfmtm5qPFjrNClkVuW+9QPhteKCQ40UH XSXaxOEJpugJPzu8XWplXrM1/RuDYLy5hU+BIDGSl8VhvShRVRCnCtAt7GWs1zm1it0V 37njwlZz+mKGM5ksJxW3LTvqH0pWeqJc3Qkn1Xu1GROw3OQU5qjVEW8FnwQRL+qOD9fu pQF7V3L3VOE41I8pc1x48ly/jn2oTKtbSMWL9ohMUjgLqmz6eGVeVxe4tXKWvRKILovQ gsLw== 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=DXI9E5PqGftIGHtK1JkXN0appM4C/3QrmDsDh/lkZPk=; b=cwM1cyveBWiunwInTz5HRMgY4mYxGr6re1bEMT4FIs+6V6ceF0A88z029cfjXotLLy iuIFNcGllydOP/B7Cv/DCSI1w2bn0gV/jQg9UUgcCjGpfxbuxh9G1rk6XqAYj5AvLLSO JRaj//N2OfRcfnOYukqFJN/U7cdJdhlK/zdYwutPSNsqho9+u9v0UKRI+GyTiVp4ydVa q+vHW0BaegMAbvw5ALxWhy443VVuWVTxEatUm3rZ8gq6AvjiOxYsHdkH7hvToeoRxsW1 817+IWZcQ5+5HNw9nJ0f9gh+epkcSfe+f3DcgY22MePeWXxSaWNhPPWki6oFCwwGJMF6 ML+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="KK/F6zNd"; 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 w24si14355075pll.11.2022.02.09.03.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 03:31:31 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="KK/F6zNd"; 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 3C589DF28A59; Wed, 9 Feb 2022 01:52:08 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348694AbiBGCXx (ORCPT + 99 others); Sun, 6 Feb 2022 21:23:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243784AbiBGCXv (ORCPT ); Sun, 6 Feb 2022 21:23:51 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A953C061A73 for ; Sun, 6 Feb 2022 18:23:50 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id da4so4800689edb.4 for ; Sun, 06 Feb 2022 18:23:50 -0800 (PST) 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=DXI9E5PqGftIGHtK1JkXN0appM4C/3QrmDsDh/lkZPk=; b=KK/F6zNdWbcBaIgLDRZRgidluicwG6eK7um5snteDQceN1jf2D0WMZal9w1cQx/qIo U5T+Pby/YUe/5k5W+jyu6+wERUPNCSYg7HVoTfyf6VGRr19/RqFmB161Yq9KXd1OjPrs pW4dzwuq4tDTswTZ3RyBpy0LGIzGoFEh/z4oWsK4Mb42KFZQ03y4PNNgEC7xXArNzWgR AnFrsBzeOBf/gq1LgMWoXS9X4pZd2iNnEmKKpkMRCY2b2Ps/l+Pay/d65hYegooytKZ+ SPqVeB/R2nxpG4jHpWuY39gH1Pzqvr88hS7BE3UMQ+/mUS+XabFMIUHilpDzNORLvqZQ Gtig== 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=DXI9E5PqGftIGHtK1JkXN0appM4C/3QrmDsDh/lkZPk=; b=bZinEd2mmAzB1s1s8DXqEOtlHEJNtSqRxmpWa6V1Qy2VPp0R33kNhUO7Uff6YUkYzc QY2GzT9auupG6i6Yd8ZURxOaGbtpzEXTbRWUjmqi+LUmsaYiSU0doe2GfYAo2H2VsHYN U4TzWpR4mMkwkQq5KT6ULgdOZp/2a0iisLDt127QwAMJGKhxmHZL66N7tWOcKXZWVHuj A3AE7wvNurggVQeDcHgm6lBQrf1eZLMRvJVk8QuN+5J3rps6PbZuHkY+RylXq7ohG1xf tN+VS2mi/POz48HDGEi5Z9HCB/Gk8EhB8Os5EXzLLIYCcI8EOe316WGXCcLm5eJ6d4L6 Jeuw== X-Gm-Message-State: AOAM533kEIHA/7YRcuezKd/C+w8VUc7ZxFvCbRFoD59nESI2z0QuyCzm HJKxqRLo8nyQGRKapAfZzUZNwXxvVr2aU0MH2Sw= X-Received: by 2002:a05:6402:1d4b:: with SMTP id dz11mr11728728edb.202.1644200628947; Sun, 06 Feb 2022 18:23:48 -0800 (PST) MIME-Version: 1.0 References: <20220117194836.vj2rxr3wocrtdx7k@treble> <20220117202751.bmwvfsnqxokob6d2@treble> <20220118175239.lqxi2ycgeusk5pxl@treble> <20220119212126.aydgx62abbngumwy@treble> <20220119234303.tmebbcrg2vpnri4s@treble> <20220120171751.gibauc4zovoskjns@treble> <20220206202859.butmvavyw3tce4hs@treble> In-Reply-To: <20220206202859.butmvavyw3tce4hs@treble> From: Kaiwan N Billimoria Date: Mon, 7 Feb 2022 07:53:32 +0530 Message-ID: Subject: Re: Issue using faddr2line on kernel modules To: Josh Poimboeuf Cc: Linux Kernel Mailing List , Chi-Thanh Hoang 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 Mon, Feb 7, 2022 at 1:59 AM Josh Poimboeuf wrote: > > On Fri, Jan 21, 2022 at 01:35:13AM +0530, Kaiwan N Billimoria wrote: > > > Try this one? > > > > Definitely better ! > > This is the o/p i now get: > > > > $ <...>linux-5.10.60/scripts/faddr2line ./oops_tryv2.ko > > do_the_work.cold+0x68/0x126 > > do_the_work.cold+0x68/0x126: > > delay_sec at <...>/oops_tryv2/../../convenient.h:279 > > $ > > > > The source file+line-no doesn't show up here though... (as it's a foo.cold()?). > > (I'm unsure why the line delay_sec at <...>convenient.h:279 shows up > > ; i don't call this delay_sec() func directly... anyway, that's my > > problem.) > > Hm... do you get the same result with addr2line? addr2line works correctly. And, so does the patched faddr2line, when i tried it out now on another VM! Lemme check some more and get back, thanks. - Kaiwan. > > > -- > Josh >