Received: by 10.223.185.116 with SMTP id b49csp2874403wrg; Mon, 5 Mar 2018 10:03:02 -0800 (PST) X-Google-Smtp-Source: AG47ELs1csz1cArK/Mp0t/d2sGxCXQZJJbo98h6wHNGX8/qtArgKbyPJEFeM4swnoukVnHTxGIg+ X-Received: by 10.99.123.74 with SMTP id k10mr12916327pgn.217.1520272982631; Mon, 05 Mar 2018 10:03:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520272982; cv=none; d=google.com; s=arc-20160816; b=1IyEod31U/typxSutlnFwF1jN4hkZy554Iycix3a0cOTO64omm8T5PGBIAkZkLQvX7 ek0LphK4gsoIriJRCCUilvcdD5/4770VfOJMO2XMtr/EhIFFaGPBFnwv/DS0yIuhSybl ArIRcLUX42o4bBWNeBR89+FnEHjL3/beqe4R8RNhwHNmoj6QmqiSLDoEO/6HTKEjKd8g f0oZncklZ6CFGtSUYWggk0CAfHtecOhyHDoVqFhNQQcPrAH3b26Ml26h0ybzhXBunKkr Brk2rLrSn+WPgZZ0Zd9/RZcIshFfE2S/GGw1A06y+JD8S9AliVggj2VbuXQyKFA1oPjW Cblg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PYBsn+Yj1Hjj5cWx92UsI9cC/3CCfwFszEz4lrU1gT0=; b=Ph82qfkMogKKbjGifXBqGWL3LnyBVSWELnAvOwoKmWBm4PGY72dH1FyBVidLW0lM7m tZk+W4M92rmupc9OfuF3yQ5YlYLxngKdjNQnVRlIpAfDbrGlyd5jbS2fBPdtGrqERSAM +2+rud8vOFXKicoJ9RyRZfdVokiq3W1ZU8OhugcvejExUQjPLmKyB+cpMQBfCBuk3zA8 g6TD22nQnhtFXVMJvenXl3RpvFSp4nyT5cKszOHoImV+T4rcGUBhocfNX+hi9XkgYR/d 8I4nNXK8IcDB9ivbW42L+zczX72ZstS+iyW5v2CGMMZjVIAFbF9GxlzhrcaP3dRHAGRT X9Yw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si10515679pfg.278.2018.03.05.10.02.47; Mon, 05 Mar 2018 10:03:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932112AbeCESB2 (ORCPT + 99 others); Mon, 5 Mar 2018 13:01:28 -0500 Received: from mga04.intel.com ([192.55.52.120]:50363 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751852AbeCESB1 (ORCPT ); Mon, 5 Mar 2018 13:01:27 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2018 10:01:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,427,1515484800"; d="scan'208";a="209017993" Received: from theros.lm.intel.com (HELO linux.intel.com) ([10.232.112.164]) by fmsmga006.fm.intel.com with ESMTP; 05 Mar 2018 10:01:27 -0800 Date: Mon, 5 Mar 2018 11:01:26 -0700 From: Ross Zwisler To: Dan Williams Cc: Ross Zwisler , Johannes Thumshirn , Linux Kernel Mailinglist , Linux NV-DIMM Mailing List Subject: Re: [PATCH] acpi, nfit: remove redundant __func__ in dev_dbg Message-ID: <20180305180126.GB19268@linux.intel.com> References: <20180302122049.13900-1-jthumshirn@suse.de> <20180305174920.GA19268@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 05, 2018 at 09:53:47AM -0800, Dan Williams wrote: > On Mon, Mar 5, 2018 at 9:49 AM, Ross Zwisler > wrote: > > On Fri, Mar 02, 2018 at 01:20:49PM +0100, Johannes Thumshirn wrote: > >> Dynamic debug can be instructed to add the function name to the debug > >> output using the +f switch, so there is no need for the nfit module to > >> do it again. If a user decides to add the +f switch for nfit's dynamic > >> debug this results in double prints of the function name like the > >> following: > >> > >> [ 2391.935383] acpi_nfit_ctl: nfit ACPI0012:00: acpi_nfit_ctl:nmem8 cmd: 10: func: 1 input length: 0 > >> > >> Thus remove the stray __func__ printing. > >> > >> Signed-off-by: Johannes Thumshirn > > > > This makes sense to me, but I guess we'll see what Dan thinks. If we decide > > to go this route we may also want to do the same to all the instances of this > > pattern in the libnvdimm debug output. > > Is there a way to turn on this '+f' flag from the kernel boot command > line? My primary debug scenario is specifying "libnvdimm.dyndbg > nfit.dyndbg" on the command line. Yep, it's just: libnvdimm.dyndbg="+fp"