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 shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (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 993B1C3DA49 for ; Tue, 16 Jul 2024 22:47:47 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.97.1) (envelope-from ) id 1sTnaq-000000003tY-2Kb4 for kernelnewbies@archiver.kernel.org; Tue, 16 Jul 2024 15:12:08 -0400 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1sTnOS-000000000e1-1pRc for kernelnewbies@kernelnewbies.org; Tue, 16 Jul 2024 14:59:20 -0400 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-810f75a632dso4380039f.2 for ; Tue, 16 Jul 2024 11:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721156335; x=1721761135; darn=kernelnewbies.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mXTp2HWUUrTrRl4eZ7svqhTsXgDwW8WuleRWg/xTtcY=; b=m8MDkYbSvwt068f/+m9i2O2c6PFIfQ3S5o7fPo+yiaszszlRdssLZ/RImSPlDRJa3V obL7qUg6LP+kx4vOSMbjPGwBK49dkEW8gPmnPrNvB2d+vH9SOLerVXrXuzXSFfHHAyv3 2QDGDWNDRo4v1avjpPd9AzCqGJDlqeZpFXa5pE/2YDnykRxpIC9GSaylmSysgLBL8dzl fa3atIhbXgVsTuOo/vh/eq+eWMyZuiZaQsmtiLObhl/qiTHI4OURXokSaqXqCpfx/JiR nCukCZiImj2XpBgNONbH1np9Dp3MrfkKVwNDHFTE5ztNyHr0ucivhnxU2q2BjNIkPunt zwbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721156335; x=1721761135; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mXTp2HWUUrTrRl4eZ7svqhTsXgDwW8WuleRWg/xTtcY=; b=fpTAX3D3zwGurMXcSKRFwFJPlP96GwLMg42Ln7EWDFR8TzTFi5gC4yr52pnN9K14lh jT+T+W9bfTPEs1fdod7w3CqERvhrryiDQrc1aMehwWk2nuwcKtf9Up2FMzTtJfKD8lvs jsI7KHn362ynOasGYPclQKi/fZDCEI6Nixu8z6QYpKMFvMjT2hsXnGSojCpnY2ZxkqPZ riPrvzO/fVik2+LJyv1+E426+J0NqnLE6vuQY0K8rGzjGxOsNqWLlr7fgVae43h1BipA tlAWNUh7nxfxuqJoKPGdFO3MD25R9ZTYgC86H6UWYBp/cyqDT5BwFWHeffGiaWAGhDca Pgdw== X-Forwarded-Encrypted: i=1; AJvYcCW/UIlpTirGGFZ/evjxXPiBKF4LqpGJ63kQ7Q8+Nm3WWDbuyVNTeeInn+7LHX7qQvAZLp/9gaqap5Kd/2dNUwC7xJURcfXY8i7+j50IlgVF X-Gm-Message-State: AOJu0YzAoJzsMyOiVnd4W2M+L/xmPFJvBNc6YtCDhAx4SfzmcE53Civn EnwnkaQHxXZTCYdFYXgD87inQyQ9r6F3WK35R93M9RQO0Y5OI5a4 X-Google-Smtp-Source: AGHT+IH2C/cO4EXdioXS3mRKkhPmm4/Juz5I1U0b++x+rWSnGrySgsdsPc6Js5tCOzBXgxSZ2aDSeA== X-Received: by 2002:a05:6602:3ce:b0:7fb:790c:a317 with SMTP id ca18e2360f4ac-816c32c9ademr47925339f.6.1721156334626; Tue, 16 Jul 2024 11:58:54 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id 8926c6da1cb9f-4c210f23f1csm75301173.102.2024.07.16.11.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 11:58:54 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org, daniel.vetter@ffwll.ch, tvrtko.ursulin@linux.intel.com, jani.nikula@intel.com, ville.syrjala@linux.intel.com Subject: [PATCH v9-resend 23/54] docs/dyndbg: explain new delimiters: comma, percent Date: Tue, 16 Jul 2024 12:57:35 -0600 Message-ID: <20240716185806.1572048-24-jim.cromie@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240716185806.1572048-1-jim.cromie@gmail.com> References: <20240716185806.1572048-1-jim.cromie@gmail.com> MIME-Version: 1.0 Cc: groeck@google.com, linux-doc@vger.kernel.org, Jim Cromie , yanivt@google.com, intel-gfx@lists.freedesktop.org, kernelnewbies@kernelnewbies.org, linux@rasmusvillemoes.dk, robdclark@gmail.com, dri-devel@lists.freedesktop.org, mcgrof@kernel.org, seanpaul@chromium.org, amd-gfx@lists.freedesktop.org, joe@perches.com, bleung@google.com, intel-gvt-dev@lists.freedesktop.org, ukaszb@chromium.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org Add mention of comma and percent delimiters into the respective paragraphs describing their equivalents: space and newline. Signed-off-by: Jim Cromie --- .../admin-guide/dynamic-debug-howto.rst | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst index 742eb4230c6e..7b570f29ae98 100644 --- a/Documentation/admin-guide/dynamic-debug-howto.rst +++ b/Documentation/admin-guide/dynamic-debug-howto.rst @@ -73,16 +73,18 @@ Command Language Reference ========================== At the basic lexical level, a command is a sequence of words separated -by spaces or tabs. So these are all equivalent:: +by spaces, tabs, or commas. So these are all equivalent:: :#> ddcmd file svcsock.c line 1603 +p :#> ddcmd "file svcsock.c line 1603 +p" :#> ddcmd ' file svcsock.c line 1603 +p ' + :#> ddcmd file,svcsock.c,line,1603,+p -Command submissions are bounded by a write() system call. -Multiple commands can be written together, separated by ``;`` or ``\n``:: +Command submissions are bounded by a write() system call. Multiple +commands can be written together, separated by ``%``, ``;`` or ``\n``:: - :#> ddcmd "func pnpacpi_get_resources +p; func pnp_assign_mem +p" + :#> ddcmd func foo +p % func bar +p + :#> ddcmd func foo +p \; func bar +p :#> ddcmd <<"EOC" func pnpacpi_get_resources +p func pnp_assign_mem +p @@ -104,7 +106,6 @@ 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::: @@ -128,7 +129,6 @@ keywords are::: ``line-range`` cannot contain space, e.g. "1-30" is valid range but "1 - 30" is not. - The meanings of each keyword are: func @@ -153,9 +153,11 @@ module The given string is compared against the module name of each callsite. The module name is the string as seen in ``lsmod``, i.e. without the directory or the ``.ko`` - suffix and with ``-`` changed to ``_``. Examples:: + suffix and with ``-`` changed to ``_``. + + Examples:: - module sunrpc + module,sunrpc # with ',' as token separator module nfsd module drm* # both drm, drm_kms_helper -- 2.45.2 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies