Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp279714ybt; Fri, 19 Jun 2020 01:36:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzj2C9kfFdfaG0ZOK3n1PQobrv5gSSViniYTCWOJ3JrbjgodGdFOfnlNmUB3vkgH3g6isWk X-Received: by 2002:a05:6402:3069:: with SMTP id bs9mr2105629edb.194.1592555798185; Fri, 19 Jun 2020 01:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592555798; cv=none; d=google.com; s=arc-20160816; b=t09W6ll8pa3RB8dHV6cHqAU4+ogymDECxh2jJIsEkqn7cKqibapFdzi0J4pYQYN73h 0KfBbEVtw4RwMbV3mVVdjs/SqI15S97Ra445Nuh2JOCQn6bGxtF6F7pXaVskrhOjEW0F sns1tpKX1i2zI/c7rk3pywxaCcmK7zYJjULo6wsHJ8xi9I6zZWuNaTgGML3cszDiWfDv s3hZQQnckdN+QfkItkDomM/27cBuatWb+QRO58iFAeL4O33mZXVMTcnp5Au1KkiaO3UX 84T3u+EgPppd7RlDz2VtxIQFINNnxzoT5PeJxJHkJt3hgQAaW/FVmtIwSTCIQ7WMHyAC 72mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cr6XoOi+NbhmIOhXG6b6XG62uXITZY6JOLTKma7/Ufs=; b=ZxlmHQEXguRk/vnWvVoK05VYi9fpwHfU5+zRtLW6T5BEFo605EVDAzOMeGx/vA8XMW fhdhT94APnyvSXY7oVRNDeNYOsB1GkWX3T2rGV/4aqArG6bKCskbhxnDtD7HoG2xXcrH TyvLVo0HMsir5sKEzxjxhXrUaZfGGX+EoR/rrccISFGKERV8Qgwca1b8Vr8IxzvKtOBQ M6sDvfIzxWQx819c8y8gcWwEvV02WCk4s1+Lf13NVCAa5QDjB2QXTiQIv7364ISh2hLF un9nJ9nrXmWYxyC17QteGKdgfHfh80KODSqwjOgs3uVi9SF8DOZx9jYr08U8ummwRBoY hrAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AjKKSvrZ; 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 bc22si3535533edb.368.2020.06.19.01.36.15; Fri, 19 Jun 2020 01:36:38 -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=@kernel.org header.s=default header.b=AjKKSvrZ; 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 S1731524AbgFSIeO (ORCPT + 99 others); Fri, 19 Jun 2020 04:34:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:54946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731168AbgFSIeN (ORCPT ); Fri, 19 Jun 2020 04:34:13 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1EFF920776; Fri, 19 Jun 2020 08:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592555652; bh=wKBHEpDsQikjcIxt+ZRpjMu/NuHWUnr40ZxYE8BFme4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AjKKSvrZpIamBHuZPYXFmDeeJ46yte1TAe/soLGpP+Ae7Bi1P9t9T4iWYJA01AUNy 9/HeueXK+xwWsT2iGjEWyHVW6CwWxAJKlxTADoTd5x2yudjNGEg+m5O8OjiUVChmbn x7le3EJgMe6bM4iKvkf9GfyxnZ6E8BUOFnw/wKgI= Date: Fri, 19 Jun 2020 10:34:09 +0200 From: Greg KH To: Petr Mladek Cc: jim.cromie@gmail.com, Jason Baron , LKML , akpm@linuxfoundation.org, Rasmus Villemoes , Jonathan Corbet , Andrew Morton , Will Deacon , Orson Zhai , Linux Documentation List Subject: Re: [PATCH v3 20/21] dyndbg: add user-flag, negating-flags, and filtering on flags Message-ID: <20200619083409.GB473790@kroah.com> References: <20200617162536.611386-1-jim.cromie@gmail.com> <20200617162536.611386-23-jim.cromie@gmail.com> <20200618161912.GD3617@alley> <20200618174058.GE3617@alley> <746984fb-00ee-9079-efac-50167f3c3e40@akamai.com> <20200619074555.GF3617@alley> <20200619081024.GG3617@alley> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200619081024.GG3617@alley> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 19, 2020 at 10:10:24AM +0200, Petr Mladek wrote: > On Fri 2020-06-19 09:45:55, Petr Mladek wrote: > > On Thu 2020-06-18 13:11:05, jim.cromie@gmail.com wrote: > > > On Thu, Jun 18, 2020 at 12:17 PM Jason Baron wrote: > > > > Yes, I'm wondering as well if people are really going to use the > > > > new flags and filter flags - I mentioned that here: > > > > https://lkml.org/lkml/2020/6/12/732 > > > > > > yes, I saw, and replied there. > > > > No, the repply only explains how the interface might be used. There is > > no prove that people would actually use it. > > > > > but since that was v1, and we're on v3, we should refresh. > > > > > > the central use-case is above, 1-liner version summarized here: > > > > > > 1- enable sites as you chase a problem with +up > > > 2- examine them with grep =pu > > > 3- change the set to suit, either by adding or subtracting callsites. > > > 4- continue debugging, and changing callsites to suit > > > 5- grep =pu control > ~/debugging-session-task1-callsites > > > 6- echo up-p >control # disable for now, leave u-set for later > > > 7- do other stuff > > > 8 echo uP+p >control # reactivate useful debug-state and resume > > > > In short, this feature allows repeatedly enable/disable some > > slowly growing maze of debug messages. Who need this, please? !!! > > > > If I am debugging then I add/remove debug messages. But I never > > enable/disable all of them repeatedly. > > Not to say that I usually need to reboot when I reproduce the problem > and before I could try it again. So all dyndbg flags gets lost > between two tests anyway. I agree, this feels way too complex for no good reason. Users only need a specific set of "run this command to enable messages and send us the logs" instructions. Nothing complex like this at all. thanks, greg k-h