Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp257012pxb; Mon, 7 Feb 2022 10:32:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQ9S/YXL0ujDj9O084Z3H+rKBwNigag77ik3A+zCrk8BMCnIhl8OU+Z/AJ5hfpcHCZskoj X-Received: by 2002:a17:907:3f8d:: with SMTP id hr13mr753011ejc.608.1644258743090; Mon, 07 Feb 2022 10:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644258743; cv=none; d=google.com; s=arc-20160816; b=0d6GtN/W1Eq6X4Tg95Wv6Os6P9G4KwX/SHy0Ndc9vPhSzPU/WvJR9UKOKcx8Fue12l 8NlhvKMb4ylatPnrmxr2FPD+Prz2B3FlappBT8ImEK4N3yq4EdVnVyBxIiZaCMEkOdIp wjJ6fYh3LKlE889QdRpanEjuuQb8iKNib8XW4QG7gDgJqmsX/3ZNh3N+60fEb6Jnz2ch cyGT8X74WUVa5cHHBkmI9zQ8M9dQSConrxpsSkRbP+K8bC0FXcIrBO9gL0HF92758GQg 6KRqKyrNPyprBJQ5HfzPglsnyMqOfHK0JhRmHT4te8Ew2c824rZaoQnhptKNpA5np+Kh v9ZA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ub4wT3g1eEoacmxyeWdpfyTXDKmJ6OBjCuUvDbLP1ok=; b=AKfbRfkRdEW6LAgeUkf3vKcC+UAqiICY6CuSwwbzvQMnVMMUGPtb/gAtzjSs0R5B6l yO982eGqz4Cq1WI4IYqpXPkqqzSQMET2XEUKvR/vp1kPfB6CNWUQwQllJ2mz4PLK23sH HoV/EdSObneLpWEU0mDoNe1/gWjZ5AxI4VQZg6TPCj1uvHCiEFHS8mGwUwgBrl8kRYC2 pcYpWPTJ2ZsYTqw/3o59Qp4nimrlHUvViTfynM7ePk79RJTPdsLqHi13LzQlUO1RF1c/ xwnhZW8vgPia1UoxxnJ0MbiUaNshR+u/LzLCfta1YPC3KzGU8MRp7QijfFCTfHnWLz7d iVMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="DZ/C/jES"; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt17si508752ejc.582.2022.02.07.10.31.57; Mon, 07 Feb 2022 10:32:23 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b="DZ/C/jES"; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344324AbiBFUgN (ORCPT + 99 others); Sun, 6 Feb 2022 15:36:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234660AbiBFUgM (ORCPT ); Sun, 6 Feb 2022 15:36:12 -0500 X-Greylist: delayed 353 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 06 Feb 2022 12:36:02 PST Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD0A2C06173B for ; Sun, 6 Feb 2022 12:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644179761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ub4wT3g1eEoacmxyeWdpfyTXDKmJ6OBjCuUvDbLP1ok=; b=DZ/C/jES8PbembTY73e34zD6NkYgayEmXEYFvaPZkaPtOLlWINCQ5SZJIUL5qkBmNTHHod 6lcTNVtnwKP51LRX9i49c9JeTd4KSX8BjDVh/dKwpHF7/nq1fUarxtoFKLmSep2GY76V6N YlMw32ev9XTAc3BCplTSuYZL/SWKtrE= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-256-wuHtlgk_PUOzDv83FHHKAA-1; Sun, 06 Feb 2022 15:29:03 -0500 X-MC-Unique: wuHtlgk_PUOzDv83FHHKAA-1 Received: by mail-qt1-f200.google.com with SMTP id j30-20020ac84c9e000000b002cf986622d1so9602177qtv.6 for ; Sun, 06 Feb 2022 12:29:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ub4wT3g1eEoacmxyeWdpfyTXDKmJ6OBjCuUvDbLP1ok=; b=p7wQ6+T8Qc6kT1ZWr4pdz4m9Ri88MXrTgnjjKfTMl5eC8/IVv7ijWurUEfc0sO/1S6 CaWo6FAD/BgGRp1StejcaQWCeJJToVYKVRwsy/wdEX/3GXLrV4PzP9EA7o+NNOZH6dXD p+8W5yFthh1cgRo6tOcRAf6RCeR7DbUnXpddx6Y7cOSmFXT7VljNZpFsyIrAWyWG1V8b u6WykiEWN61hzcc3xSyzT89JIUmk2iDCW4E3Ds1f+Hx+CIWjnyAKnBSCG/Vg1ir6+ZOZ 8CaVJVfXd0gE5R7Vs27kzujCqOixtd2P1FLqCewZiMlm5J5M5jQBaqeErEjh4n17XbJ0 HMsQ== X-Gm-Message-State: AOAM530rDTXhljfYNZonWczdk7mgC1vztegnXXES2HEN3WBaC0trw29E 3/pgFyA/V0Y2p+nO/xEfoLhvNA6jCNutOc/qozMive91vt0sdJIll9LnaOQHN7c1dLW1ddCiu5p MK9USpYh+gHF6gjNfiGpVVkbR X-Received: by 2002:a05:620a:25cf:: with SMTP id y15mr4970116qko.5.1644179342328; Sun, 06 Feb 2022 12:29:02 -0800 (PST) X-Received: by 2002:a05:620a:25cf:: with SMTP id y15mr4970109qko.5.1644179342104; Sun, 06 Feb 2022 12:29:02 -0800 (PST) Received: from treble ([2600:1700:6e32:6c00::15]) by smtp.gmail.com with ESMTPSA id s11sm4887896qtk.82.2022.02.06.12.29.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Feb 2022 12:29:01 -0800 (PST) Date: Sun, 6 Feb 2022 12:28:59 -0800 From: Josh Poimboeuf To: Kaiwan N Billimoria Cc: Linux Kernel Mailing List , Chi-Thanh Hoang Subject: Re: Issue using faddr2line on kernel modules Message-ID: <20220206202859.butmvavyw3tce4hs@treble> References: <20220117194836.vj2rxr3wocrtdx7k@treble> <20220117202751.bmwvfsnqxokob6d2@treble> <20220118175239.lqxi2ycgeusk5pxl@treble> <20220119212126.aydgx62abbngumwy@treble> <20220119234303.tmebbcrg2vpnri4s@treble> <20220120171751.gibauc4zovoskjns@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 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? -- Josh