From nobody Tue Feb 10 03:45:12 2026 Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A1C121421B for ; Sat, 25 Jan 2025 06:47:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737787637; cv=none; b=hrke63cAiKbmkesIzVRSrCN496mNupU7UJjLuyQPETXhINf+NyV9tJq+wUKpM7I3HyigWKvPXTX2c2yed/frgzVeQaCH3sY6H7FCeBqIb/itMZUfbgc+lL8vaVrPcmCS8/3JoBQ5b9dT+tnVMLam5BCnuVd/T9/PgB4SV4kiAes= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737787637; c=relaxed/simple; bh=c3ZBxKmnmbqCCMeHiC9+dvwd/Vlz8dMZyN0oZhiIC/g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tBoFr7GV6fW4H5dGL0PJwmQD9ue1EinC8rA4T+OmWq7drIwSVDV5f6+gSlu7ev4pC6rFHRMKDykOPBKD0BXhTX0+MAsdeRaid/YWcYxHn4MqXRbalSjLSff7YgxfbJAtS9zAl6kSORf8Vok+pOSFrfDC+VbZBU4fjv+Y1rE6uwo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=i9hV2lM2; arc=none smtp.client-ip=209.85.166.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="i9hV2lM2" Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-84a012f7232so114027439f.0 for ; Fri, 24 Jan 2025 22:47:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737787634; x=1738392434; darn=vger.kernel.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=JsyGIKm5KVw15Lrl3SAKRhPe64hFlD++7kUKJ3Bp+EU=; b=i9hV2lM2kkIyYO/yEmrmbvGxdLeUl50DDH4ZjZ0VZm3Zu/NjYW9omT4JJ496Fwdn3q U+NT1lCC7oo05M+dvfyOa9bRwO8lRUKoQQSqb8lLj9KyRzY6+GjkkdI1qQ6ZcmJnMHWi aJBIuf1BdlsmbW/6DiKqV4Z82k6BqtcaUktz1e3XepGAJw3V35hxELrOEDZmAmNmg9uj f1W6Iu/NRqok237ZLAzWejLgItC8NXZzqs05i89Ws9MqlhCKFy6JyzERSO+GUZPgQ7r3 w1HaturEIb01wwnp5f205TP4scRGjqKaCpCGDw4WLeKR2AAMrL8mje0xWi71GO6H7aEc /fJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737787634; x=1738392434; 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=JsyGIKm5KVw15Lrl3SAKRhPe64hFlD++7kUKJ3Bp+EU=; b=fM3w8YxIeXniDr55bveQcKGfcnuxlg5T/BMPHvPyYr3bqjbxt1KLCy1kY6AbbJIHlc tJD+mlqC9wVip5FTJ9qb7+Ot+JZUjOQ0xPrKcru3vwkUv29vavbwC/E0ZukLJMMbF58M K4HVjFpxEhzD7EJzksY3C54DNm4kPGsBWGmnxc1zrp5KYROMgjEH8TfBKNqNyO4+32Ku dbxCwWx7sOgTBa3yWzHFL7JOOJdiS4JcqmzBRpyF2DqkjIPO5y6i3PxsDi4RhGWpmo2G XGgO9cY8VR2cteTCXx/XjyoBBHL9szIiid6/hM84eaNog/ziT9EuI61HrD/jmGNG9zY5 iJUg== X-Gm-Message-State: AOJu0YxITFIhC/oNI6v72fxczPHlExRaEq4eer6FXQVNXJKjiIP7E46/ HI35ug+qgq3SLbEwhD83ciNd9wUxFiukHyC0LMVlzCugag9LPMRAYto0TA== X-Gm-Gg: ASbGncsbC41IL9bVUoA9I9ieZVgWcpx+dqY14YYgVqQn3ImF3JVPmJljPsnrfXvfubY pHCa0rNEMPjrzduHlghoEkEWFQiAE/rWT5D8fSIHPQcuo/QTFmjGQV9VPGGLddtZAlauaJRYhb1 TAcmp+ohwgDLFCXUDJHoKQGgRtQrY7OBL1lnJP3uoNedaXwxzNHpVBXyLoCT59NGk9uydBCYuGw nCmU2V47uk7giOAqHQck/zXoojFmkr8ysw5/cMJ/UroZSxRODsk63zNbRWKJ9QRWdJ97Qvle6PL Ig+Pxov7zbPuKhDcveWMv9g59+qacHzPmt2wFw== X-Google-Smtp-Source: AGHT+IEO16ggXmzyfYHgop4tbbYRoiJ+jPn2ZC4cmvbjRlCrlzH1udV42UlgxC08+7x3doqhyHdvvQ== X-Received: by 2002:a05:6602:6081:b0:841:ab27:acac with SMTP id ca18e2360f4ac-8521e1a91d5mr552474239f.2.1737787633949; Fri, 24 Jan 2025 22:47:13 -0800 (PST) Received: from gandalf.. (c-67-165-245-5.hsd1.co.comcast.net. [67.165.245.5]) by smtp.googlemail.com with ESMTPSA id 8926c6da1cb9f-4ec1da476fesm1174144173.58.2025.01.24.22.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 22:47:13 -0800 (PST) From: Jim Cromie To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org, ukaszb@chromium.org Cc: intel-gfx-trybot@lists.freedesktop.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, daniel.vetter@ffwll.ch, tvrtko.ursulin@linux.intel.com, jani.nikula@intel.com, ville.syrjala@linux.intel.com, Jim Cromie Subject: [PATCH 34/63] docs/dyndbg: explain new delimiters: comma, percent Date: Fri, 24 Jan 2025 23:45:48 -0700 Message-ID: <20250125064619.8305-35-jim.cromie@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250125064619.8305-1-jim.cromie@gmail.com> References: <20250125064619.8305-1-jim.cromie@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentat= ion/admin-guide/dynamic-debug-howto.rst index 391e40a510c9..c3537f8689e6 100644 --- a/Documentation/admin-guide/dynamic-debug-howto.rst +++ b/Documentation/admin-guide/dynamic-debug-howto.rst @@ -78,16 +78,19 @@ Command Language Reference =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =20 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:: =20 :#> 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 =20 -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``:: =20 - :#> 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 "func foo +p ; func bar +p" :#> ddcmd <<"EOC" func pnpacpi_get_resources +p func pnp_assign_mem +p @@ -109,7 +112,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 "*". =20 - 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::: @@ -133,7 +135,6 @@ keywords are::: ``line-range`` cannot contain space, e.g. "1-30" is valid range but "1 - 30" is not. =20 - The meanings of each keyword are: =20 func @@ -158,9 +159,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:: =20 - module sunrpc + module,sunrpc # with ',' as token separator module nfsd module drm* # both drm, drm_kms_helper =20 --=20 2.48.1