From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4216C38142 for ; Mon, 23 Jan 2023 12:05:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C5V5raONoq8LeuG4PpKyv5bCmiBQPaCfd2NjtYeXwg8=; b=L+64/Abtarsh6h 6yLTFKVm6F+Yecmir+OR/+7sKWbMXwZsTpQxGAb2drq38h4S4WUYB4vxAsPYHnZo0j+lcfDTgcVzE S+/7EESg2rJEBgKUXVN7UvE2yNX9HcjjgIO5/8075Ae3ZY6zVDQQXoNiROxAYoJk3vuhLMPXLVDDm QRl31zSshRzzdoCYpE0/mOQJ0E3msyG9i72qXEGwctltGBZ5RyVEeaYoYLbUl5eB2OTTUdyPrTeZl XoVmjFQB/UI0VL0Z4oYzUU+1KAL2rNivBa60OS/BNdFw9zFBlPvH3Hk4auAuJB+HNqjUHu71nkOEN G2L5bohQI/c9NebR26dQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJvZ3-00H1gu-BZ; Mon, 23 Jan 2023 12:04:41 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJvYz-00H1gY-VW; Mon, 23 Jan 2023 12:04:39 +0000 Received: by mail-wr1-x42e.google.com with SMTP id n7so10573144wrx.5; 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=btd3u9ug6RGHci08unoedMyi4ZaVvf1DPHFa4z9vlE6/6QlORRza2dEFVcbfKfRIxe 9Rw2g80cdvW24K7ZICNyhCUnpltt25Ushj69zArRMZZA6jUGqV6n2fBQbhW94BdaXaiB AF2AixQOZUOM8EDYNRyRXGsExqZV9SJZG5iWWdR6LZKUnuOQOxmTiMBLHN82vv1Lacnp xhYVAcEAvXCmJw7Xj1ZSBjqOqW2NRaFzbc47U/8d7gMHa0NGP1j76Ke4MU6JwLtxWDuF PaWUTDG3LBp8TgG83X7zffA7SXFdVaSTmkTrv+x/eBTUHekWM8DTk2lv3IwFopKapdtV gpEQ== X-Gm-Message-State: AFqh2krzsvTabYDLylGCSVg5J+a7V2adNpWquM8lnhUU7zSNRdX7cWvk Kc2MC4tRDY3zX/pxoXSJ2O4g8BzB55jh/A== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230123_040438_050795_9F2E4926 X-CRM114-Status: UNSURE ( 7.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel