Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp10660pxb; Wed, 29 Sep 2021 23:16:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMuxePKVrBVq4P41KVjNcR8pWfGm9dl0yZaE335Uni6YmeQSoaZMNIuYLkLXuiGJMEFtm6 X-Received: by 2002:a50:d88d:: with SMTP id p13mr5081924edj.142.1632982610162; Wed, 29 Sep 2021 23:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632982610; cv=none; d=google.com; s=arc-20160816; b=D319l08fBMQTjz2CXSHZAG7Oum6mXA42pqgIydHGWWAfRZFww0I0dGLhQfb2vM7VMz v0LCJDy533+Xs3ZC8DX25CwjIQs5wGnRkxY7yOzT3E+fnFVxn/UDm6GBLHcNCwq1AZrX zSPkPpeoQjSkJbAjXVt1cgEGRQmAAQndi2ZfPfR/Z+4fVR91oPipZIKuhB2O9R5FURXn FKEewpuPLH5gTIOc7WBLzXpsNZSB5Savz6KlR3AS7kJTafOFFbRtIikBDDP97bLblsDj CB9J5tENeagrVfooWf/ZfsmJMyBHJQZDxpJN2sUcF+wP235onlGAkbLd6QYKkLe5wqA+ 3IWQ== 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=2TzK0NgiBAYMf4YzqihA5CSCUFmVSeNsXqeCqXIhDGk=; b=cOIs6JX1pT54kz5E4q+QCAUbXlevWHrcZexA/vFBpK/HRl3LqaTznYytFiNH3ZIwdQ hufegZl7jx9rZOfqg1Qdc59frjyPaBRniw9UuG3ma69TJArd+4zRYelMyHyOVFlOjL8q kU065p3sdNABWCREE4IafwJg2vX9mT7LxL9iNW2hJd73v9sTEUbf6DVuEtO168EfQKL4 kGZ4GO/NY1OCs7vDWvBPCQF0CSi/K6otg70jWvUZnF2W+3CrjNao1OYwmfi8LpaWySDA Jfcg8FICLrMvy6Rni4bNYDGnX+8WLkwbSrOZ5Y6I2my6FiURkFADDHd7RV8YWKX2Pzdh i/aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YW9q/rOL"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ec19si2331558edb.88.2021.09.29.23.16.22; Wed, 29 Sep 2021 23:16:50 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b="YW9q/rOL"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348237AbhI3GMM (ORCPT + 99 others); Thu, 30 Sep 2021 02:12:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:47620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347847AbhI3GML (ORCPT ); Thu, 30 Sep 2021 02:12:11 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BFA986136A; Thu, 30 Sep 2021 06:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632982229; bh=77IvhJAzAOrloB5dP5qR4yYlyKDgaGo9TQFvWQS0YNA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YW9q/rOLWdcAsTWUW+sgBFXKHlIpbfFGknMqT3jXucVqBGpEf0bXFnTF4IXnq3ImS SjAMHYkTkyyrKhsZ4TFzsL4YqsrSWmDGdUEvivXjcqGuPfGSUVUZIqonyOkfWs0ypV SrLAsww0bvsEL6g8wuHCvEHYyfcx+etk/g+4mwF0= Date: Thu, 30 Sep 2021 08:10:25 +0200 From: Greg KH To: Jim Cromie Cc: jbaron@akamai.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/6] dyndbg: rationalize verbosity Message-ID: References: <20210929183735.6630-1-jim.cromie@gmail.com> <20210929183735.6630-4-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210929183735.6630-4-jim.cromie@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 12:37:32PM -0600, Jim Cromie wrote: > change current v*pr_info() calls to fit this new scheme: > > -1 module level activity: add/remove, etc > -2 command ingest, splitting > per >control write > -3 command parsing - many v1s here now > -4 per-site changes - was v2 > > -2 is new, to isolate a problem where a stress-test script (which > feeds large multi-command strings) would produce short writes, > truncating last command and causing parsing errors, which confused > test results. The 1st fix was to use syswrite in the script, to > deliver full proper commands. > > -4 gets per-callsite "changed:" pr-infos, which are very noisy during > stress tests, and obscure v1-3 messages. > > Update docs verbose example to 3 per its comment (potential conflict here) > > Signed-off-by: Jim Cromie > --- > .../admin-guide/dynamic-debug-howto.rst | 2 +- > lib/dynamic_debug.c | 22 ++++++++++--------- > 2 files changed, 13 insertions(+), 11 deletions(-) > > diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst > index b119b8277b3e..ab28d200f016 100644 > --- a/Documentation/admin-guide/dynamic-debug-howto.rst > +++ b/Documentation/admin-guide/dynamic-debug-howto.rst > @@ -358,7 +358,7 @@ Examples > // boot-args example, with newlines and comments for readability > Kernel command line: ... > // see whats going on in dyndbg=value processing > - dynamic_debug.verbose=1 > + dynamic_debug.verbose=3 Did you just change the user/kernel interface here? What happens to the systems that were using '1' as a value? Do they have to be changed? Why is this needed? thanks, greg k-h