Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp70829ybt; Thu, 18 Jun 2020 18:34:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1CHp8Ff5vWcmO0ka7iclrKpIa123Hgr55KFlZ5r0SvKrqJgWTMzymHyeH6obRLVuhnuC4 X-Received: by 2002:a05:6402:1814:: with SMTP id g20mr971774edy.197.1592530440250; Thu, 18 Jun 2020 18:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592530440; cv=none; d=google.com; s=arc-20160816; b=es4KBouC1LZSpgostc5HJHdK1t0/94oC33XlxtSs31+G9GY3xV3JrL6j2C2ZaEO3cy Ilu/HHKPQPaz3yz+XcQiFHGhelyyYgndTfgEnTX/Ph4JtjbXp1HVwUdoYSH/nl9nvo34 9igCkulYDTQTtgVs9+4kuWdhKhGU/t6lxyFjmFf1K9tzgkWtNui533EjzCDICsO6hAod VvPKDyCrjCq1LMZ0c6tOJjXw1qeFKDoNG3saNJrmASLkWw4Oua4y5/2U/uaTGQuZUaw3 LayR4AWgauM1QDg4p2DWYqhSa/p8qBk7lkAw+u6NjMyv0CjQ/P1t9R9bJU3aai03zq4j jiwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jDIjOjdbiarDk2Fl4NccItO3BDRjCw45WmDaZ8+rKkQ=; b=oq3cX7dh3jZU1mRkxxXwHchzG+xXGt8PEr4ttsd2cs5UVNHSl8PJSYhoczCKKJ13zX qBGe0KT5pnRuBFcubt9kOGtV+g4vDa0QXqBi4J7xkmsl81L731AZO9b4SAxVl/vf1JPG Jwmrc11HiC95QLq6h7FqXHLZ2+bzEUONtSfVUkjgxJ04dcnrWOW3FBxTuyNlY9j3dR1f n6ocIuBFmj/wi/tO0goRQzFUf7GBOvv665tGcYNKqnWj7WyUT/tRRtYkrLpTxZUSJI8N uu/ychcPsA9a+b2XxXYkI0ZhyGCFM/A7fAiCaFEp7isbs7Maql83CIw6VwJdCre4Js1M 64KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HHlLX0nO; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si2964301ejd.527.2020.06.18.18.33.22; Thu, 18 Jun 2020 18:34:00 -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=@gmail.com header.s=20161025 header.b=HHlLX0nO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731456AbgFRWtD (ORCPT + 99 others); Thu, 18 Jun 2020 18:49:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731370AbgFRWtB (ORCPT ); Thu, 18 Jun 2020 18:49:01 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52759C06174E; Thu, 18 Jun 2020 15:49:01 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id k13so4518525vsm.13; Thu, 18 Jun 2020 15:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jDIjOjdbiarDk2Fl4NccItO3BDRjCw45WmDaZ8+rKkQ=; b=HHlLX0nOmr6wW2RWLAku8iPrG44Nci8A5hAoFIz4UYNne5JW1NP3V+Zco1a9hQJFBo aOVr2SzL6FStgoGlqcxedDN3PZGcK4wElWjvSHO9fjsnl/YzVEsp2CrZ50wPiYkPBww5 lWw+A0c8Dy0IwzCNovbCNqfZOMyI6hU1cz+lRMnOE2cVl1QO8ikpU9ZsDnK/mQc3Anfj mPFJdEY5Sw4qEsuO08bUKKK2ChO3ym92zuyc+6XEhq3WI9MLcYAcPo9b+J38at0QRQlQ hXlJCtQjf5wXp57J6WZYNu5z8NUM4ZVdFZyzxJN4168al64/KFjKXkgLZqcNarhnxA48 NdbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jDIjOjdbiarDk2Fl4NccItO3BDRjCw45WmDaZ8+rKkQ=; b=dLBf+X20TLTYfFEp5DjJvyHmGeliNIFuv8uPnLGCG29y2zXA0YhyrLc/I1WL7C8B1w W6j0StY/QxWf/qHiwU7RPCpejt/JdhhvxfPXhsvudf3g59Z9w47kXF++EbpqSlP1Sxyw 0wPulAhmVvh84td1QYe7OaVS4ODcXADDJRo4U//4KeseN74WM3RxVT3W1xZmM1pJTwFD LbzIg/j+IfxctA4xpOy7O6OD2fx8Iwg2JizD0XEyf1RIDKF5WR4/aJR0CYxh+lp3EFis KOxsblae37O3VpmTu/S2Mty9623NqlYcFFT4LpDazW/hzZ5dBXJ1Xz+mZLt0NWh+KaqS lZ3g== X-Gm-Message-State: AOAM533drHpuS23z0W3btBG4t640nXEdGAoYzIPGBFRnC1WLpiNMRB17 6E2vqLSkiKhSFa1UB4eafvLwRQC4v1svwyJMbbk= X-Received: by 2002:a67:c511:: with SMTP id e17mr5222120vsk.210.1592520540021; Thu, 18 Jun 2020 15:49:00 -0700 (PDT) MIME-Version: 1.0 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> <172c0580-279f-aa3e-817a-4216067bea10@akamai.com> <23396523-28c3-74e6-3e62-be68e5a5465a@linaro.org> In-Reply-To: <23396523-28c3-74e6-3e62-be68e5a5465a@linaro.org> From: jim.cromie@gmail.com Date: Thu, 18 Jun 2020 16:48:33 -0600 Message-ID: Subject: Re: [PATCH v3 20/21] dyndbg: add user-flag, negating-flags, and filtering on flags To: Stanimir Varbanov Cc: Jason Baron , Petr Mladek , LKML , akpm@linuxfoundation.org, Greg KH , Rasmus Villemoes , Jonathan Corbet , Andrew Morton , Will Deacon , Orson Zhai , Linux Documentation List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 18, 2020 at 4:34 PM Stanimir Varbanov wrote: > > Hi Jason, Jim, > > > I would be curious to see what Stanimir thinks of this proposal > > and whether it would work for his venus driver, which is what > > prompted this module group discussion. > > Hmm, we spin in a circle :) > > Infact this was my first way of implementing the groups in Venus driver, > you can see it at [1]. > > +#define VDBGL(fmt, args...) pr_debug("VENUSL: " fmt, ##args) > +#define VDBGM(fmt, args...) pr_debug("VENUSM: " fmt, ##args) > +#define VDBGH(fmt, args...) pr_debug("VENUSH: " fmt, ##args) > +#define VDBGFW(fmt, args...) pr_debug("VENUSFW: " fmt, ##args) > I recall :-) I think Greg K-Hs distaste for those defines was for using them, as it tosses the utility of grep pr_debug pr_debug("VENUSM:" is barely longer than VDBGM with ddebug_exec_queries, you can leverage the existing format. > > [1] https://lkml.org/lkml/2020/5/21/668 > > -- > regards, > Stan thanks Jim