Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D270C38142 for ; Mon, 23 Jan 2023 12:04:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231592AbjAWMEl (ORCPT ); Mon, 23 Jan 2023 07:04:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbjAWMEj (ORCPT ); Mon, 23 Jan 2023 07:04:39 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A11223C42; Mon, 23 Jan 2023 04:04:35 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id d2so10556844wrp.8; Mon, 23 Jan 2023 04:04:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=SAtEBkgqCy7U3IrEI3QZwX/vSHv0Teqx5ckWVZpW0X4=; b=lA8BsZaR0c/bqnrotg7waVOsF8i0g5/YNIyGhzUad3w0VweAu0r54Mt5GW6XxKb+LC ka8amQS7uR513K3CfNa4GBTv8mcxVVNBrEDgZ3seLokULseDPL0Ve/BLnfjQEwjSrMz2 MD6sx6IY+2oh0DVuyicxl/mXZomxHGmLNvDOLtlvEAy8bvY4XGiFbX7R8hZPIYc+3PSR /928xk4cWoZeLqhe39tDYNffJipCDIHJw7/PEm4jb8oyhfbWLJBsstj/ctKwB2Vnjbs5 kqHjdIUxvjL+EGzf3OMPQ3gA5p0Gtg4PubDsaa67qlvxvuwy5Gc7Yt3lcYvlCFLmNp2/ nGog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SAtEBkgqCy7U3IrEI3QZwX/vSHv0Teqx5ckWVZpW0X4=; b=jyIwRGPN3ARRAz/KSwiM75Wr95HLdwUv+A8mMPCiL6hZBsCHzB0S6sGp7UiV1b0wZ/ IwKwxPwOiPRvY28AJJXzcxgSHZ6ilqM+tr/RVs6qWBqgZjfZywxjbo8+S/s+Y/ynmUsT PjkuUpUdHK8HzT5GdM2STZ3sqQCXEpTfL6kAN6q2a4J8ayt9MD+DIVU+M/tdX0TKPqNc s/rfD/DMBcLQRM/oTYuUNtJia2Tfg26nzbVaA+b9DZLAyjx/Hgtpp8xASa1dgCDrfCK6 FpR4DX5QrgjiBsPPF0fo3/fliuXI02R233pMH9CGoG8ok+bIgoAibCjGOd+sUT53E7bn 5Gyg== X-Gm-Message-State: AFqh2kqtpHfn+G80I9NaMU2qec42ZS7pCXKi17Sv6BF2EPF5cwTlKdtz n6YdtuAHXyJHWLiaHaEpxj4= X-Google-Smtp-Source: AMrXdXsDwMSnY/QaAwQHvsKx5pldjdAoB20ljjofuAsOL/wjkd4fq26Md81tgW+v5OXNZooIwtgpWw== X-Received: by 2002:a5d:4e83:0:b0:2bd:d857:f96 with SMTP id e3-20020a5d4e83000000b002bdd8570f96mr27417098wru.60.1674475474821; Mon, 23 Jan 2023 04:04:34 -0800 (PST) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id w8-20020adf8bc8000000b002bdc39849d1sm30540126wra.44.2023.01.23.04.04.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 04:04:34 -0800 (PST) Date: Mon, 23 Jan 2023 15:04:31 +0300 From: Dan Carpenter To: Laurent Pinchart Cc: Phil Elwell , Greg Kroah-Hartman , Stefan Wahren , Umang Jain , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Adrien Thierry , Dave Stevenson , Kieran Bingham , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/4] Drop custom logging Message-ID: References: <20230118115810.21979-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 20, 2023 at 02:53:15AM +0200, Laurent Pinchart wrote: > Log categories are used to group messages in categories and control > their log level per category. As far as I know, dynamic debug doesn't > provide any such feature. One idea is you could put the category in the format string. Then you could just grep /proc/dynamic_debug/control for it and enable the printks like that. regards, dan carpenter