Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1468137pxb; Wed, 10 Feb 2021 09:00:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcaF+CCeiSLP002D2D1qBJ3v6kTIzV4UFml8s9WEJyH5/zQ2udyJF1M5UwJj9RI7OPQaks X-Received: by 2002:a17:906:c08e:: with SMTP id f14mr4043167ejz.388.1612976449462; Wed, 10 Feb 2021 09:00:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612976449; cv=none; d=google.com; s=arc-20160816; b=Ksbn1qpa+a9E+1vqLqTZ3sm2qjKvOvlqRq7592qN96EfDMtfp9xOGVIli+tbaOH1fz 0omcFr3p2SeaNu1C9ixEsdo5+SMbIhms76HXLB84AebkAfUPrY78EFB8JDVLpNh2HKdD idYJHlwP/ftLF8/SoJL5z1y1go3sJ1DfgdDjt19yMt/kRCWfJ66HpT1CUNj8oiIayd8H +fuWHkAvBUO0o9AgPPFP3i12lUPAzzaQwdYpOIGiSQNkyOwB52JbAcc3TNwydZpJUyqW HIPQHIFO6lVcoiOpQJPFVtEDp5/OEHIaxSM0BBH+9CnjGE152cYdF+VRuJdyrMldJsN3 LvRg== 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=dc1iPOZpxg+pMgvOKZ14zMHkLfDU30YtXbfuJ0GI//g=; b=I+6vHDkJJf4ZWeGQRvWqhd7vnTY8CRltPrX1RIQYKjcm7RFuugLlzOYtrT39TJYfDJ r1J4QUaXQ9RkkL3xCyNmkvhr8lNbmO8enTt7R9yWPfkWgH9r7q1PNhH2ZuDuraXoNz0V q16w7tQcSttvigpgisK8ffmKk8H/aTUcnNSvWnIssT1XtMtul12O7VpmQP2Ec5w8evHO SNKrSdYvEwlV9r234cvkHZiH9CvYp/X4ZS7aElCNiu2J2zUK4GASzXu8+bBVgkO2wKK8 OzSfTlgWa1nPhjCqpFjLf05xUyKrCyXXRpx+qv++2VIYTzlTKkQ1BPz7uaYHT5nhZlEN txxQ== 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 bi18si1709440ejb.369.2021.02.10.09.00.24; Wed, 10 Feb 2021 09:00:49 -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 S232808AbhBJQ6d (ORCPT + 99 others); Wed, 10 Feb 2021 11:58:33 -0500 Received: from mga06.intel.com ([134.134.136.31]:7976 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232903AbhBJQ6H (ORCPT ); Wed, 10 Feb 2021 11:58:07 -0500 IronPort-SDR: jtMW4iIy6IQgyN1+zdQZT2Ypa8twsbmJYPNdXZRYqopHnB30jc/JmLtcrZwhPM7mUZBgqt6tE6 4WsG8Ke3zqww== X-IronPort-AV: E=McAfee;i="6000,8403,9891"; a="243600272" X-IronPort-AV: E=Sophos;i="5.81,168,1610438400"; d="scan'208";a="243600272" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2021 08:54:20 -0800 IronPort-SDR: YaHAI6bJQoUB7zMRBVuvHxXrWC1N8RXcKfsBSKreSHGJXC5Jz648w2uzLzbxNb4NTkGf52nZ2R SwwyG1s397/A== X-IronPort-AV: E=Sophos;i="5.81,168,1610438400"; d="scan'208";a="586375276" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2021 08:54:15 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1l9skl-003m9n-6t; Wed, 10 Feb 2021 18:54:11 +0200 Date: Wed, 10 Feb 2021 18:54:11 +0200 From: Andy Shevchenko To: Tetsuo Handa Cc: Steven Rostedt , Timur Tabi , Petr Mladek , Sergey Senozhatsky , Vlastimil Babka , Matthew Wilcox , akpm@linux-foundation.org, Linus Torvalds , roman.fietze@magna.com, Kees Cook , John Ogness , akinobu.mita@gmail.com, glider@google.com, Andrey Konovalov , Marco Elver , Rasmus Villemoes , Pavel Machek , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 0/3][RESEND] add support for never printing hashed addresses Message-ID: References: <20210210051814.845713-1-timur@kernel.org> <6da0be5a-7cb0-4943-e61f-7c3275e60cb6@i-love.sakura.ne.jp> <20210210111836.2468f10a@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 11, 2021 at 01:39:41AM +0900, Tetsuo Handa wrote: > On 2021/02/11 1:18, Steven Rostedt wrote: > > The point of this exercise is to be able to debug the *same* kernel that > > someone is having issues with. And this is to facilitate that debugging. > > That's too difficult to use. If a problem is not reproducible, we will have > no choice but always specify "never hash pointers" command line option. If a > problem is reproducible, we can rebuild that kernel with "never hash pointers" > config option turned on. I think what you are targeting is something like dynamic debug approach where you can choose which prints to enable/disable and what enable/disable in them. In that case you specifically apply a command line option and enable only files / lines in the files. -- With Best Regards, Andy Shevchenko