Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1585801lqa; Mon, 29 Apr 2024 12:41:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAgbCVx32W3D2r0p5+QS/55bAMf9MA/klFWUCQEv8upZl1Og2hZkokEik+NHarKxzgSJTSwyPtHQeyVfpLJoS2DM7Dq9HyKISEkcxmKw== X-Google-Smtp-Source: AGHT+IGm+03dH2E3HDTMDLOikRVi/RDAmzTlzmz0PUWFElSTPYr3zO7bMPEyBxbv2TUhBY/G1Vst X-Received: by 2002:a05:6a20:2d13:b0:1a7:590e:279e with SMTP id g19-20020a056a202d1300b001a7590e279emr955293pzl.5.1714419718021; Mon, 29 Apr 2024 12:41:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714419718; cv=pass; d=google.com; s=arc-20160816; b=jmeBFPPPmJuBmBYGCZwThI37Dfd9qToT1Vxt6Fc2pQLc0dycDfTp8DnicBcAwTOcxL ic44KLYq85Dd9hGiZq3GqieHcTeEVOtLyUsqxjm5F8Z5Ptc1aY9v2qO4JDhrO6vbhido apnZHrxMXWy/c+mKDX/HlotHOz0qsV7h79UZ7koSsNmG21ZEpp78SJVJllqmFRBnmdZN 9YgxNX5tDyynBwxd0VshEgz5vUIcoSaex9/P9JqGj9VWLlgH5LayQC//JtDe3b2K4vyI VC9dJiPuMZqDxsnhc1jQHoFwwvswA//FZ9E7k3XwGW4eqnN+nvnHeVA1odGzAcfhAAoN Vdkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=RXI+MXWRKKGIldf/Embfy128LRyyxhcJagthHMuW3ts=; fh=gB4Bq9H/3keXicBDVJ4FhB46sG6gfdO/jpRrC0Fwb6M=; b=xY/NmzX7SwWVckk/h3GplH+FNi55lbitNbOh0DQSCqCyAuJDVC7Vn/RlvpX/V+iCX0 +iHqcLUWROowQ95ihlGcfJOk2TTAC6kAT+gDahoxrxwS+sy8qjJlKtoIVU1eUQmbi6Te 2Pk8AqgyJ+dg372kjBWtl3Cj54FJPdR4sKf4XXvXlENWTg0KT37x/MgHJPOiBsfFcdy+ ZSD2puUJz1zQJzRTQp8I0oYRQ4l9FiYDcys2DP7iQeGnIeHfrZGiagGScb/aJ7ljnRn9 gzosPMBMOLyEA3oSqMD8tFrOvn0iOyPHNhxbjObV05V82SHPC0MLwiqk02FEI/JXLwUk 9dFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gOaabP7t; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-162946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x190-20020a6363c7000000b005e857e42aa7si10885550pgb.55.2024.04.29.12.41.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gOaabP7t; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-162946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 251C9285227 for ; Mon, 29 Apr 2024 19:40:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80E5E13C9D4; Mon, 29 Apr 2024 19:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gOaabP7t" Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (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 2BD1C13C802; Mon, 29 Apr 2024 19:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714419575; cv=none; b=mCAzswi5xb10K11YUy+Uv1MuHMLcPv4aQm46jQZWwynSf8SwQkUtfGyEqXPxfd9FNguQ5i0+MV/BHPpow0LHUbtk5muotj3S5nkXnAL7xUaBPht9FEwJiRX4B4+FfQWjAs8d2y6QLdTk2sDkYpF5/2RrwXKEI132JCdw9gvkHi8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714419575; c=relaxed/simple; bh=5WpZu/r79l+78bbnFmQqDFjB9RGGvzz/imN1yr7Rf/I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ccM7P0f2i9hBQpRZytPSbPdPTpXBkPFnmrAFJ0IpFeFFtxg5pryNsnIoj7+jwo5YQoKqGmI9NAB5g+1iE/A+VbYfHPFLHaav0fMu30ttgZAE+ib+uHp5359hZ8hK3VJWGfITcCWLAz1EvnVuXiO43z8G83uARHmUTAYzqzH8oKg= 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=gOaabP7t; arc=none smtp.client-ip=209.85.166.43 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 Received: by mail-io1-f43.google.com with SMTP id ca18e2360f4ac-7da09662332so160424439f.0; Mon, 29 Apr 2024 12:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714419573; x=1715024373; 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=RXI+MXWRKKGIldf/Embfy128LRyyxhcJagthHMuW3ts=; b=gOaabP7tGLD8uBt0TqjWvg5YxVGTBUI0EVE/AjMKaMPa20FoseHQFCnrcjlh4OE8ht qp9nfpsR0JIbYMBTgNhpGscQB7Mjbg6j/yFJd+0VGTQF1FoFeLQjecIBKQQNugdn5O6K 6RMlFgJzSEMOv7auRo46wjsTZXFzfcXP5s96kN4eofJiK3zb01fOSn68OZovzn7lTIQ/ f5mQmYUjGhJfauKSGRNs/tLsQFgOOmwdvNVen1+JGJFSUzecyQhIEleYbvPMRSF17kIy H55qEfdOf5UP5uqvFZgL2KpsvDnzB2BjpbZKdC7ATDxcK0OEtMbuLFEdlkLd/2ci1UA5 SQ2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714419573; x=1715024373; 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=RXI+MXWRKKGIldf/Embfy128LRyyxhcJagthHMuW3ts=; b=Fa37GKuP0I3lABgCbfOw3kARtmbwez0bdBHlav8S0/7gGTnvMmAY6Ewnvh0qDP9Bhh WKZOBnzpPy+7+PbLZVojLwqWGHcxkSqgMbHcBcVbMM4XAI3xVP0V0Fx5iBr0FKsEizy3 pjA9BS6qLfAAxE7ux4Y+s2W+xetaC+cU0KIVQRqbX+zifkrBKOEEG0puWl5+Dg7i3jVJ PjVAFEEYUKhaXvdR8z8ADymSrgZKHzoFBPkY3o3YusSpsroBzl86ki6gsA484+PfxmuB aJ7CDHWJ5ssX8+KyZo2q5vu2KVp6z89TUrZ0iNSOdDwVtzmQdgEDNkGF272DgB9j0ubK aIpg== X-Forwarded-Encrypted: i=1; AJvYcCX8aCIHUiiwBFp5Bk1YSfD2O7XxGI/7X5LhoiN575RKLmWiusPgiiGqlvXqPC5+Ab45tZ6KNIo0y4z2yxSRBW267RQbMIS304B80nTURrJstJveBrxYySF0zdXcsPoj09SCudw+F+gA X-Gm-Message-State: AOJu0Yx2gNUwRE8lPNgrm5azM2SU4NXgKkqwp1xf1wnVf34Ql27O8X+J WrEdlv80QCdoTH8Zg+BYlOqyFQ/YNzdbbGv6ncqZqZhnPUyH8JUV X-Received: by 2002:a6b:db05:0:b0:7da:1a22:e832 with SMTP id t5-20020a6bdb05000000b007da1a22e832mr584954ioc.0.1714419573239; Mon, 29 Apr 2024 12:39:33 -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 y16-20020a056602165000b007de9f92dc57sm2325105iow.16.2024.04.29.12.39.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:39:32 -0700 (PDT) From: Jim Cromie To: jbaron@akamai.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: ukaszb@chromium.org, linux-doc@vger.kernel.org, daniel.vetter@ffwll.ch, tvrtko.ursulin@linux.intel.com, jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, groeck@google.com, yanivt@google.com, bleung@google.com, Jim Cromie Subject: [PATCH v8 25/35] docs/dyndbg: explain new delimiters: comma, percent Date: Mon, 29 Apr 2024 13:39:11 -0600 Message-ID: <20240429193921.66648-6-jim.cromie@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240429193921.66648-1-jim.cromie@gmail.com> References: <20240429193921.66648-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: 8bit 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.44.0