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 4EA17C44501 for ; Thu, 9 Jul 2026 08:49:40 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dc+ql3mjhO8FMaCndhOB1pTlDINeeJWIZGjT5wmG/IU=; b=orhcdsiimiUoZW RDK92xZMlgj5wLnXKseoLzhb/oqXaV0Q40yZlZozQ+HoI59YCIoEa3cQghxxQv72iX4bOBEhr9nfC Pxl6k5WkiUEoLuuQgp2QN/3MW6q+e2pmJfoIuAelDwweg0mRXfqwOgZHVbevDC8jlfGR7BH9eluW8 WSx9KYzNLKUpYpjvH/AuLRWEqsiS9TRiOrGuVzDUVNx5LObIx/cchSQFmVhSMPYZEM9Fau3YAsY88 bCtgB7XQfwoP6Nu6Ze/vdAJpIFiuYW/zKh70oRgHpxYC7DunqFA5KojCYRGGz5iHT36BsryaZwFs8 7ARedpUHNmlgW0uU0YYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1whkRt-00000001XzL-1Ixr; Thu, 09 Jul 2026 08:49:37 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wG14N-0000000CIuX-2rvt for linux-rockchip@lists.infradead.org; Thu, 23 Apr 2026 20:54:45 +0000 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-479e4835e26so2497976b6e.3 for ; Thu, 23 Apr 2026 13:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776977683; x=1777582483; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xAEAq+kQJrWXZQykWzpQy5kgtDlX9Aaw3Ob6jXsM1wQ=; b=SHJB5F3Tef7N3dlFAcrGK4Tnc/v52NKPasHNZb7C33A6W79Jdu8c+UyT9GN/QxTbAX lpwT4eGa9r/eC+jZO6jU/K2aps2Eio327MXs9f2/VKmrx2VWGwTrlbfeMM6qifIz/rpr y+wl0XT+ZMYIoTyEsyun5ltSfOpTgMe7wyTHeNerHmMxhfoxZqVMpOwPHg9dKowx4T+s /bMvh6owlcSuyGHLMzkCimPuvBSPKLlFtKrRIz28fdFVEf6XxSkhRGo9MGdiZdYJZ/0m WIdqnwBDzntY7kH5fWTaEjGa+cwUbh/dBnY5jM0PuAio3WOrBuCzfHePC1T2r1a6mm63 233w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776977683; x=1777582483; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=xAEAq+kQJrWXZQykWzpQy5kgtDlX9Aaw3Ob6jXsM1wQ=; b=DdeE8kEc3uP2EnBc6/+uW+H47ZUlCT91yhUisNaoxi+rRT8KpnXVGkdKFTFLUBFzp+ ctBolUlzbCtP+m5O2KOsA/ZtyxHKu96Kkf508zzCfMUO+qH83ULCDYw1s2oOh/ZhdEoq Lklm3a0r65G1d3B6XaUxjvrTXuitX19aveur80LTSpR8Zq3Dl3muAgfrkrV8sZSzomWJ AEh2ABRRA7OwYy4qoswTSXrJnocOoOBTJDY3f7NONJKDxuEBheSqlUdT/fOU3SX6R7Mn XnVPPjO0QC2GkkBnfWrEFTdePAg9erbKp7tq9bH84ryGJUDOEMLG2jAq1bbrV+rYf1tp otTw== X-Forwarded-Encrypted: i=1; AFNElJ9QJyDQj9PwGp1Y0pUh45LmMHwtsN+GQbasLtCVYO9nHUSEt7Sb6xWboNJ0VDVNm/Cb71saYqMOX3Q60V9hfw==@lists.infradead.org X-Gm-Message-State: AOJu0Yw9ijO7CoEN+7YChF7XPTxmCjylaX1Cr8i/usIxksAUDpIhPpkc RThVmaG7K8qOJ7cWS5YxIYKdPPAFMZWVXmDfSkTqtiJE5oOnl/k2B1R8 X-Gm-Gg: AeBDieto8V99kkjnTjlzP88KR8tu0oKzok2ugSWdm86RGG8fAxBmVTwFUDSq06Tl0UU tX9g4TX3Lzb4IRDIM+xbfITWzbooK1YWOcS9J1pCMJB/daw8Z3TUGCGLVnwkYYZcXxycOZnQqv4 M1LSPq2KiFOBYbZZXiLLX6i2TTTguLpcCOQE4NMDmLY/rLC8TWb5QJG+q7JDIrWFj9fujykiphP W/I+hnBSv600FBmzxygRxIACa/8SmIO07w8nESzmReSlN9fZOQbK0X1SMIqf1bMyPeuWHfnnH/F 0F/8OChiSV4BwIhlukxsbZEcIPhDiV+5xRX0OdBrwhlR95UOaQOCgngt1LrnbCChtnXzkXuMHPf ci+l5j9wmmtmyXX8XO1H4HNUdO+StNllNtWeP0ISM20wwWYU3n6wOAL0kH+Q669ywyNhihv+raY zILcLOB5/IzjM9Adfg3NXZKvs+L6/xShPNWt2Z7KD6vLHP513yXxZVuoyL53yUOvSpRBkVnmk/w u9HWGTGmlI= X-Received: by 2002:a05:6808:d4c:b0:45e:f443:dc3d with SMTP id 5614622812f47-4799c9424e2mr16765336b6e.13.1776977682728; Thu, 23 Apr 2026 13:54:42 -0700 (PDT) Received: from [192.168.0.245] (c-98-38-17-99.hsd1.co.comcast.net. [98.38.17.99]) by smtp.googlemail.com with ESMTPSA id 5614622812f47-4799fead505sm14329744b6e.2.2026.04.23.13.54.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2026 13:54:42 -0700 (PDT) From: Jim Cromie Date: Thu, 23 Apr 2026 14:53:49 -0600 Subject: [PATCH v14 08/92] docs/dyndbg: explain flags parse 1st MIME-Version: 1.0 Message-Id: <20260423-submit-dyndbg-classmap-foundation-v14-8-2b809a8019d0@gmail.com> References: <20260423-submit-dyndbg-classmap-foundation-v14-0-2b809a8019d0@gmail.com> In-Reply-To: <20260423-submit-dyndbg-classmap-foundation-v14-0-2b809a8019d0@gmail.com> To: Arnd Bergmann , Jason Baron , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Andrew Morton , Jonathan Corbet , Shuah Khan , Shuah Khan , Greg Kroah-Hartman , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , David Airlie , Gerd Hoffmann , Dmitry Osipenko , Gurchetan Singh , Chia-I Wu , Matthew Brost , =?utf-8?q?Thomas_Hellstr=C3=B6m?= , Lyude Paul , Danilo Krummrich , Patrik Jakobsson , Zack Rusin , Broadcom internal kernel review list , Louis Chauvet , Haneen Mohammed , Melissa Wen , Sean Paul , Jocelyn Falempe , Ruben Wauters , Dave Stevenson , =?utf-8?q?Ma=C3=ADra_Canal?= , Raspberry Pi Kernel Maintenance , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Marijn Suijten , Xinliang Liu , Tian Tao , Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz , Philipp Zabel , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Chun-Kuang Hu , Matthias Brugger , AngeloGioacchino Del Regno , Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Andy Yan , Alain Volmat , Raphael Gallais-Pou , Yannick Fertre , Raphael Gallais-Pou , Philippe Cornu , Maxime Coquelin , Alexandre Torgue , Oded Gabbay , Maciej Falkowski , Karol Wachowski , "Rob Herring (Arm)" , Tomeu Vizoso , Liviu Dudau , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Liu Ying , Laurentiu Palcu , Lucas Stach , Paul Kocialkowski , Jianmin Lv , Qianhai Wu , Huacai Chen , Mingcong Bai , Xi Ruoyao , Icenowy Zheng , Laurent Pinchart , Tomi Valkeinen , Kieran Bingham , Geert Uytterhoeven , Magnus Damm , Javier Martinez Canillas , Huang Rui , Matthew Auld , Jani Nikula , Luca Coelho , Russell King , Christian Gmeiner Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, virtualization@lists.linux.dev, intel-xe@lists.freedesktop.org, nouveau@lists.freedesktop.org, spice-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-renesas-soc@vger.kernel.org, etnaviv@lists.freedesktop.org, Jim Cromie X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776977636; l=1814; i=jim.cromie@gmail.com; s=20260203; h=from:subject:message-id; bh=jPGjXS71/Sd5PdlEbYR5u6p1XmzzkhLL9WEpBvy8svQ=; b=HMPoys38nD06ZJHUUrHCqtojr3UfS4NPv3Z3vnBVFyI30FyzOStWh/NmjFhaCcjRBJPNZBJ17 GJd8iWMP66nCqhCyzWgR1+dBVaXdJOf5pW87LkLUcDicQIXZDja/brX X-Developer-Key: i=jim.cromie@gmail.com; a=ed25519; pk=C6E5ODlPQo7ZBynATXH9wg7K6HxP0pIXyf4s38Qw0XE= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260423_135443_741886_B971073F X-CRM114-Status: GOOD ( 12.33 ) X-Mailman-Approved-At: Thu, 09 Jul 2026 01:48:24 -0700 X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org When writing queries to >control, flags are parsed 1st, since they are the only required field, and they require specific compositions. So if the flags draw an error (on those specifics), then keyword errors aren't reported. This can be mildly confusing/annoying, so explain it instead. cc: linux-doc@vger.kernel.org Reviewed-by: Louis Chauvet Signed-off-by: Jim Cromie --- Documentation/admin-guide/dynamic-debug-howto.rst | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst index 4b14d9fd0300..9c2f096ed1d8 100644 --- a/Documentation/admin-guide/dynamic-debug-howto.rst +++ b/Documentation/admin-guide/dynamic-debug-howto.rst @@ -109,10 +109,19 @@ The match-spec's select *prdbgs* from the catalog, upon which to apply the flags-spec, all constraints are ANDed together. An absent keyword is the same as keyword "*". - -A match specification is a keyword, which selects the attribute of -the callsite to be compared, and a value to compare against. Possible -keywords are::: +Note that since the match-spec can be empty, the flags are checked 1st, +then the pairs of keyword and value. Flag errs will hide keyword errs:: + + bash-5.2# ddcmd mod bar +foo + dyndbg: read 13 bytes from userspace + dyndbg: query 0: "mod bar +foo" mod:* + dyndbg: unknown flag 'o' + dyndbg: flags parse failed + dyndbg: processed 1 queries, with 0 matches, 1 errs + +So a match-spec is a keyword, which selects the attribute of the +callsite to be compared, and a value to compare against. Possible +keywords are:: match-spec ::= 'func' string | 'file' string | -- 2.53.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip