Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2288592pxb; Thu, 3 Feb 2022 03:34:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpiMj9v64Yo0Mrx8ygQ8YU1o3NNwbJ1OP5HYG/NyYCLS1+TevlIGmHl9MBEwSgktLqUiIi X-Received: by 2002:a05:6402:f1d:: with SMTP id i29mr34256320eda.190.1643888061833; Thu, 03 Feb 2022 03:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643888061; cv=none; d=google.com; s=arc-20160816; b=WrQ/z5ywT6HquZtgYHkHkQk5/PkcJo9kE2lmXVukC3OvheuKkZPtWAZjYI4GsGtD0f ur+mu67jWmxh/Gs72CASIb2U5L6T+e3Dz1nsaNKAKbgoHtB1TlLNuTdcjEqyn3mHy8xk jGMIP63zhwmsE98ScZE3P0YZtGZjWE57D+cf062CN2YjaQZtB1y5GIuTf9auPnklOUex qfe+4ov36xIfvg+7Lc2PdUfIv5Ujt5awzTWcjs3BuUJFlPLN0RwGvs3SlVzNZu4NzqgC lKHK1xz7AFWDBA7c9BhVDdYQv680RlyMxu2D+944qRmZ1QSeui4IGvEqyQOcmnSBZ7Rf KaEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/TYgYCHZ3hp3KmiCZAuYzGse5O/J4PIgNOecbAQaPs8=; b=dFsRleO+5pbvObbMIWUQUxCigEhOHMyMm467qyjBQCpjmjzDOcRCmUu7ONyp9FXZYy crrNSCRmUKOGgBD0UxdkdRrbgcU2iQ/W2xmaIRQUJp1SCD/TJxG+nJQALsDRVpnx+k9A Qn2XUv+B8+Rx65uUOWks45F6ehvIbFAKuOlKbnnSYpe75yJhMgL43naE4/Wj99mEgtMp 74LPOHOo+vCHyMVGKp5+AMpt+GKnBw6WRxbQsPhndlDYL3oDL2X3Ddmm1BwtJhf7cS/D oTlHJafRh/Nvnc8sJ4IQYJ4rhLWZIVBo+11OFLZnLnwo46tTOHbF70FDVgyv3fxT/p07 ImSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DWNzVevh; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15si12564467ejl.58.2022.02.03.03.33.31; Thu, 03 Feb 2022 03:34:21 -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=@intel.com header.s=Intel header.b=DWNzVevh; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236164AbiBAJqp (ORCPT + 99 others); Tue, 1 Feb 2022 04:46:45 -0500 Received: from mga12.intel.com ([192.55.52.136]:20243 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235864AbiBAJqn (ORCPT ); Tue, 1 Feb 2022 04:46:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643708803; x=1675244803; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hrU8xtXromvB6osPL/I7DAiqFwYf8gTY3wavqh3LUIw=; b=DWNzVevhwewbwJ+QMPIIB1RxkFZNReQVk4Nsz/ulA3k6CjyqnnZ8J4ak F1t+gC5Owith3ng5yHAL9m8fQul0JJPR0Yjx1LxQXbubIP7ZZ+NJV9qKS JPYDqpnzicVwPHrrCn4BP9oxHd+N6fozGdmZpG2kmDFIXaYhEXFyaolEk 4FBkGNn5UeZU3CD05zYFaPTEMAmP8NbRxZqeirp7NjeKgW+UzqgOAWlb5 1dTQ2L6jtYS5CwRwCUHLdYghFwEWGvJ9hQMeBQ94SSPKQ5HW/1yI4mqDB w0EwAW5u9VY5pD/4oo+x9CcYnshn7XhgohSj08rN5rBlY11eljl3jIEjW Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10244"; a="227627700" X-IronPort-AV: E=Sophos;i="5.88,333,1635231600"; d="scan'208";a="227627700" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2022 01:46:43 -0800 X-IronPort-AV: E=Sophos;i="5.88,333,1635231600"; d="scan'208";a="479605353" Received: from smile.fi.intel.com ([10.237.72.61]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2022 01:46:40 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nEpjE-00HFYx-Uh; Tue, 01 Feb 2022 11:45:36 +0200 Date: Tue, 1 Feb 2022 11:45:36 +0200 From: Andy Shevchenko To: Maninder Singh Cc: pmladek@suse.com, rostedt@goodmis.org, senozhatsky@chromium.org, linux@rasmusvillemoes.dk, akpm@linux-foundation.org, wangkefeng.wang@huawei.com, mbenes@suse.cz, swboyd@chromium.org, ojeda@kernel.org, linux-kernel@vger.kernel.org, will@kernel.org, catalin.marinas@arm.com, Vaneet Narang Subject: Re: [PATCH 1/1] kallsyms: print module name in %ps/S case when KALLSYMS is disabled Message-ID: References: <20220201040044.1528568-1-maninder1.s@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220201040044.1528568-1-maninder1.s@samsung.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 01, 2022 at 09:30:44AM +0530, Maninder Singh wrote: > original: > With KALLSYMS > %pS %ps > [16.4200] hello_init+0x0/0x24 [crash] hello_init [crash] > > Without KALLSYMS: > [16.2200] 0xbe200040 0xbe200040 > > With Patch (Without KALLSYMS:) load address + current offset [Module Name] > > [13.5993] 0xbe200000+0x40 [crash] 0xbe200000+0x40 [crash] > > It will help in better debugging and checking when KALLSYMS is disabled, > user will get information about module name and load address of module. > > verified for arm64: > / # insmod /crash.ko > > [ 19.263556] 0xffff800000ec0000+0x38 [crash] > > .. > > [ 19.276023] Call trace: > [ 19.276277] 0xffff800000ec0000+0x28 [crash] > [ 19.276567] 0xffff800000ec0000+0x58 [crash] > [ 19.276727] 0xffff800000ec0000+0x74 [crash] > [ 19.276866] 0xffff8000080127d0 > [ 19.276978] 0xffff80000812d95c > [ 19.277085] 0xffff80000812f554 > Signed-off-by: Vaneet Narang > Signed-off-by: Maninder Singh Who is (are) the author(s)? -- With Best Regards, Andy Shevchenko