Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp267481ybt; Fri, 19 Jun 2020 01:13:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWCC4eyGcLK1YrXJgKclVunDNfHjGRfprgsFm3w1BXPE1mDvTSs4TnF3OnV+K0OvQdqv+v X-Received: by 2002:a50:9306:: with SMTP id m6mr2117523eda.216.1592554428889; Fri, 19 Jun 2020 01:13:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592554428; cv=none; d=google.com; s=arc-20160816; b=VwJoBNLS9fCgZmJMkjQc3Q8qbXxRqS5/tmkrDNEjVuLflT1yskpGzXzR4yWAXY8fT4 NBJ9GtiPBGux4XBou4yQ652gyFsHvaLQIeAX8edMoL3acWrvSFwu+ZVMel0jnwnzjvbT LktqICZOQN6U/A8O0CdOQW9FpY/DAdUSfpMzC1ZiE/hu7IcXib3JIqV4OV8kzKkULLmJ W9P+vJBF1Q4pgd72RwvO6tTPQgPFgcDO3tfbBQ9HQ8GF+BHRq3sTfTw4lHGPi1Z59AA6 lQtfJGOAMTk0rDU4HDTNhqomwTJyBvTtmtSrdhzXLY9AlqLhSr7nQxiS3ByRJpvnSt+Z Gj8A== 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; bh=faK6OkhqXDbgrFomiwutWl7aGA2Z0IEz2qMOgMQy8yo=; b=saAeex4bc60qOuPCRUpUVvJ43+dBIUUPgdLaleGly+65X9b/6zy2HzXaxB2NF47AUb L9sTksGCw63QcEM1iOFe1zgh7oalkzr0uu+wuDNeVbR++/7a7fX4UYPyr9WbPMjZQpP5 oEnYEavfCFgZxLFdSpxt7lNw20xGV+O6BP4sUffFrYIn8F3nM2FPwPlvx7zomrrv9H20 hXEmJlY/SHDV7zjmY0FP2hBjHOUGxtUuwiVLs3D5ZdJWkuuj/PaYnjXzbQql3F9weOqD Y7yWGEu0bGO0M72mVmAReXGiqVmJG7d7ukd6u/uyo27JvtrKq6dDTngTzTzRd7K7g2xP uCGA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k14si3285618ejz.68.2020.06.19.01.13.26; Fri, 19 Jun 2020 01:13:48 -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; 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 S1730983AbgFSIKg (ORCPT + 99 others); Fri, 19 Jun 2020 04:10:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:40702 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730872AbgFSIK3 (ORCPT ); Fri, 19 Jun 2020 04:10:29 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 85ABBACCF; Fri, 19 Jun 2020 08:10:26 +0000 (UTC) Date: Fri, 19 Jun 2020 10:10:24 +0200 From: Petr Mladek To: jim.cromie@gmail.com Cc: Jason Baron , LKML , akpm@linuxfoundation.org, Greg KH , 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: <20200619081024.GG3617@alley> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200619074555.GF3617@alley> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best Regards, Petr