Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1129191pxb; Thu, 4 Mar 2021 04:11:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYIH6H0cfCsXjK3QPK+Hm9EHc8lqpof7KiBReDBSMQDaW+oARIXZkyUAXC6s9Z2m5qN7UY X-Received: by 2002:a17:907:971a:: with SMTP id jg26mr2387986ejc.317.1614859913914; Thu, 04 Mar 2021 04:11:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614859913; cv=none; d=google.com; s=arc-20160816; b=Bjpe129tuDgUVw9jpPqgP1X4Dz8BWKoIi6ePEgSHGP4jD47JwGkABXBips8yhX8qly ZPP8v5IntpLrredLqrfVQDjMcg7884sR9RWWQ7gnCZTHcHyvH63Ixz5mdqxb6QleMzPU 66iqULxebke1sfJpgSWtBBN/9UJ1/+FGBei+02k7ikYTTjTHiHWFmMXFAnEX1DaPardq DlknJvIC5mKYSK9cI3DNmpW1bfutD111SardxJav/jtJQJ2naAjRhqgXvr/u88C56xvp 0K8qk2MFY0j5j82OG6OJO0oN9iRasVWu9u4WRps5vsi2+iOVLCvRUmsqhOxPxFGOK+jL eoBQ== 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 :ironport-sdr:ironport-sdr; bh=2MTQa6jxCIEoXKIdTshnLMO8gc/ewk6AgtxHXI+/qco=; b=s8hdeyPkxac5XvYkJiaWQ3jSiHEZblMFSDjgd5PeisrhwFEeNBisfE8fMaj1efMIPK S7U7cjmU8DEYWcMnIIktDrx9SLvcxbPkAftGnQZe5fk14zL7apg7A3F4Bm4bxTn/z2XY wAZuXgXJEY/kh1eu/cp95sLCEPyr8nPZ70fmiGpQ3r5q12FTkfxAZcYZcRJLH9OGPLC+ laix+ugjRT3lCUNHGfJQ6Tmj2yK2wrGovMFRBfPT7XlZ46uJfhvE2FH6EUtMBddQOqX4 PcvME6+zVRGPDvcBLdBjUx99YV35lxUAOWivqI7f4V8DDrbaiVoKOoXMHXcXNHZXPnSZ Lvzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k7si14548584eja.156.2021.03.04.04.11.31; Thu, 04 Mar 2021 04:11:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1579222AbhCCSan (ORCPT + 99 others); Wed, 3 Mar 2021 13:30:43 -0500 Received: from mga06.intel.com ([134.134.136.31]:45588 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382998AbhCCQ2U (ORCPT ); Wed, 3 Mar 2021 11:28:20 -0500 IronPort-SDR: X98ptwmCA8JW+xOSZQev0BMOr1Mr6nBRgVFg6bxYqCP9Gz33YFpHCL/3dEj1NQscjHTZxW0BMA M+t1RSwapXqw== X-IronPort-AV: E=McAfee;i="6000,8403,9912"; a="248629274" X-IronPort-AV: E=Sophos;i="5.81,220,1610438400"; d="scan'208";a="248629274" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2021 08:17:07 -0800 IronPort-SDR: HK6BqoCOxzow7Nb+DpilmIyDt0ONRht09Opyru2m3nxMWlc57oeZ9IbhzMHuvtnLb6GkVpB1SI TFaQCPef4zeA== X-IronPort-AV: E=Sophos;i="5.81,220,1610438400"; d="scan'208";a="384042326" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2021 08:17:04 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lHUBJ-009g4x-EE; Wed, 03 Mar 2021 18:17:01 +0200 Date: Wed, 3 Mar 2021 18:17:01 +0200 From: Andy Shevchenko To: Steven Rostedt Cc: Petr Mladek , Stephen Boyd , Andrew Morton , linux-kernel@vger.kernel.org, Jiri Olsa , Alexei Starovoitov , Jessica Yu , Evan Green , Hsin-Yi Wang , Sergey Senozhatsky , Rasmus Villemoes , linux-doc@vger.kernel.org Subject: Re: [PATCH 5/7] printk: Make %pS and friends print module build ID Message-ID: References: <20210301174749.1269154-1-swboyd@chromium.org> <20210301174749.1269154-6-swboyd@chromium.org> <20210303100012.0e6e4de3@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210303100012.0e6e4de3@gandalf.local.home> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 03, 2021 at 10:00:12AM -0500, Steven Rostedt wrote: > On Wed, 3 Mar 2021 11:25:58 +0100 > Petr Mladek wrote: > > > Alternative solution would be to minimize the information, for > > example, by printing only the modules that appear in the backtrace. > > But this might be complicated to implement. > > It could be a list after the backtrace perhaps, and not part of the > "modules linked in"? > > But then you need a generic way of capturing those modules in the backtrace > that works for every architecture. > Honestly, I don't even know what a buildid is, and it is totally useless > information for myself. What exactly is it used for? Dunno Stephen's motivation, but build ID is very useful when you do tracing, then based on ID the decoders can know what exactly was the layout of the binary and list of (exported) functions, etc. At least that was my (shallow) experience with perf last time I have tried it. -- With Best Regards, Andy Shevchenko