Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1628251pxb; Thu, 4 Mar 2021 16:54:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwq+2VKclNV9TKWu3NX2IHjUUsk8dpIiXu4QgCMz2Hzbq2dwh/iicGiFHcpZ8HwfEw/Kloo X-Received: by 2002:a02:9a0a:: with SMTP id b10mr6930877jal.132.1614905646672; Thu, 04 Mar 2021 16:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614905646; cv=none; d=google.com; s=arc-20160816; b=v1q5TmzWIWFADI5TFlUxXpX9j0x8m73s7sGQmcYFSJC7FDs8UtWunlzZWdLW3ppo2I qVAxaTcSVQFqWhPCAoqY0OY08eIxmrgGuUf1BKFzS94PZynEhu7IyQKmYqhkE0WRpUlR /CZLY/X9NsBGAzMaAmTIvTbPoGHimREhqMov8v08XUwcT43xy64bU5WySnvSCsmzxRyQ s3AqdcdOnUMRJt9v9UEFU7+qOVsn/a0O9TsEigQD+JJQf5oKNmIqDycoW7F3HMlt5afx 3Jc+wmJyMxpCR1V5U2MtFpK7Dks9XTSYzY7FMQlpUkJpe1jYjJoKCLXhacRqoX0NWNl5 oB3w== 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=GhCGhP0BsbYxxvG5oirIRrU/eVqLhvnrFt9++MBuTbI=; b=llY0o/ZyWH8gPx6MFXmriMr31oCgR7y7xv+atYpEbWfZ/2X51vecV7q3nOrWqvksHx r4GM+GubCAsL04vsEOEySqpazOsEi9M7bx/TrxhlnC5yDduUpsPZ/a1Cneif4otgRSjD w8+EGd6J8mujqFlF4AmdRY64kRgu9cfQUMOb+AUTuBf1GVj8zr/QSMc40mgldrolPGtB wpoqqBwI6dIs4S3c1EGtjYJAkDcV6LZY4np+01oBHhAUNr/jDahkP/6gvu1F5cmpIF/g AMISGTn9LdzdLeJHDWsf0pLrMDzuIOLMSNvWrFNBvZ5hDWgcsutsLOsWzQ5ym5/TXZxu mIZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="NPKi/FCo"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si1175308jav.63.2021.03.04.16.53.53; Thu, 04 Mar 2021 16:54:06 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="NPKi/FCo"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234193AbhCDRV6 (ORCPT + 99 others); Thu, 4 Mar 2021 12:21:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231294AbhCDRVi (ORCPT ); Thu, 4 Mar 2021 12:21:38 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFC6DC061574; Thu, 4 Mar 2021 09:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GhCGhP0BsbYxxvG5oirIRrU/eVqLhvnrFt9++MBuTbI=; b=NPKi/FCogHT05rZYVfR2iyhhx5 eHl43l4EOWfXGoMyxptEdO7OW3v61XMn/ugNheYMCs2J+Jtgs8J3l3rTnvbC/DJeabbXaUkY6BB5W KS9x3F2aUOJmkyeNF4q3ZFetboPNyZ+DdZSWNZ6TuKhFozr/rUrOmoG1hiL7WxlCwCiXefYnQNGkn FY5QpfMZvnAfnOJZXi4M9ekwjkXa+tD5Wvrpi2og+WutpT/l/xpLq50eAruI8gtOZNA1Qo5xwT+Yh qrvUaduQyMeOW1PLXmYi8B7R91Zse0ItV5kWCIQ0zcNP+6xzXS3vEei0qkMbRBmmcUEeS5SPedLOQ I4R+Hw0g==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lHrdV-007yCV-09; Thu, 04 Mar 2021 17:19:49 +0000 Date: Thu, 4 Mar 2021 17:19:40 +0000 From: Matthew Wilcox To: Steven Rostedt Cc: Stephen Boyd , Andrew Morton , linux-kernel@vger.kernel.org, Jiri Olsa , Alexei Starovoitov , Jessica Yu , Evan Green , Hsin-Yi Wang , Petr Mladek , Sergey Senozhatsky , Andy Shevchenko , Rasmus Villemoes , linux-doc@vger.kernel.org Subject: Re: [PATCH 5/7] printk: Make %pS and friends print module build ID Message-ID: <20210304171940.GL2723601@casper.infradead.org> References: <20210301174749.1269154-1-swboyd@chromium.org> <20210301174749.1269154-6-swboyd@chromium.org> <20210301214319.7e54c66f@oasis.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210301214319.7e54c66f@oasis.local.home> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 01, 2021 at 09:43:19PM -0500, Steven Rostedt wrote: > On Mon, 1 Mar 2021 09:47:47 -0800 > Stephen Boyd wrote: > > > The %pS printk format (among some others) is used to print kernel > > addresses symbolically. When the kernel prints an address inside of a > > module, the kernel prints the addresses' symbol name along with the > > module's name that contains the address. Let's make kernel stacktraces > > easier to identify on KALLSYMS builds by including the build ID of a > > module when we print the address. > > Please no! > > This kills the output of tracing with offset, and can possibly break > scripts. I don't want to look at traces like this! > > -0 [004] ..s1 353.842577: ipv4_conntrack_in+0x0/0x10 [nf_conntrack] (3b39eb771b2566331887f671c741f90bfba0b051) <-nf_hook_slow+0x40/0xb0 Would it make sense to only print the build-id if it differs from the build-id of the kernel which has loaded it?