From patchwork Sat Feb 10 23:50:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?=C5=81ukasz_Bartosik?= X-Patchwork-Id: 199347 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1702686dyd; Sat, 10 Feb 2024 16:00:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX/M2MQjba57GuQCC5SyHzQDBNnwq3DkHehg8zrTDeZMm+CNlntHmJp6oV44E8d0tzbcNiZNefx5K5Tr0fHmpUzJ990pw== X-Google-Smtp-Source: AGHT+IEqmm0XfqhBboEs45qLoNCEMJEQA/FZp4oFYuQ5mXKHDosf+6HJI1blP9a28PojeenzEAB+ X-Received: by 2002:a05:6808:13c2:b0:3c0:32d1:961b with SMTP id d2-20020a05680813c200b003c032d1961bmr1087778oiw.7.1707609640880; Sat, 10 Feb 2024 16:00:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707609640; cv=pass; d=google.com; s=arc-20160816; b=ugIUOu4pt9VuUluRW6SDAPJSRjYBjsRfUapuZP48k95Mvuzk9uMie609c8J6/2J+Xf fB+cCbyWiIBRQveuPaYJfkzl5DUr1YUIGO/mRIui3Xkbd26vWlyQ6Ba3oIzzc6MnlWev ep3qWRczMpFWBtQAINzUysb7VbKAC/+5EtWhVs2r3sGojq4M0iYdRekjKQKaadBD7HfQ gGHS8LZmPVazd/zCbGqCWBYln8LC3z86vyx6n0G226mIRwXkDDXPxOuc5L8a6ZqQAVQf lAk5vvW9XXGbRpCcI+nQfUUMarO8bR1PUdDIa7sx/fKy/eZwb8obQ9jRft7j3wgbCxRG SdFQ== 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=Dd8YxOHav2NIBiOCgFEkoV0Anep5oU6J4bZR+Xm4AWg=; fh=neRJbuHz7QdsApI94GwwH93b9U6JOhBwbSpe6KzkZSs=; b=U0um3PG0rhysTeDErFm0eqvHkoE2NxHCTD+nz1/uI7t2erHbllvRC4pcxGK/M03AT3 5qwczHL3FmpovjPvZyEk8fzjKnf9bl4nCo2ueaglZCc8xaAfCvpcxf2JAKKT8eZgU8Un tEAPwwVL7xfkcU512+hGZpdZsT7WxDT55x1Kn7rhYelyLEQeLxPoyheM7G/cQgCOQmGH myyPSdMBSJ+v0zLxN3IG9rpPpBLtKhwEJD9eQACY3LXwGSv7EDELp4M5DkQxG5MXSHZJ HtwOgIUHuo3PFSxNL11N7F29gqYH7i5R/yu3fbAnZ4kHDJ0nJtLTiVb9PbwBmNLfvYuf 2VAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gFU5ZT5g; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-60621-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60621-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=2; AJvYcCUe5V8ePk/RkY8+5s33Bygcc8E7PxvqEKMD3Zy9FiE4jWB1+cKRJNVrh5KWlVOdm5gdLVuOkAIonxWVCwbIbemrdhTSpw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u14-20020a05622a010e00b0042c6a535777si1817634qtw.355.2024.02.10.16.00.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 16:00:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60621-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gFU5ZT5g; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-60621-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60621-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7E6DE1C2304C for ; Sun, 11 Feb 2024 00:00:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C4886350A; Sat, 10 Feb 2024 23:51:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="gFU5ZT5g" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 7A63560BB8 for ; Sat, 10 Feb 2024 23:51:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707609096; cv=none; b=Z10A8zL1y5tlZIlQwPLZ4T+KA9amm48vwQrJl6pv5B7Xn1frs0XKRSQxviNer5u/BQaWG73Owjh/8RB7e42DEMS3g/gyP34G0WeYluIRccH3IT1qor/5upz/SnEWXN6mQT0DCytYxaX6dZodIrfOHvLp8Li79zyHHThwVJkxbLw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707609096; c=relaxed/simple; bh=E7G661369JAfDA2I7DCIVeqKZzJMxADI3GduPA8jgOU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UDHVDFHdOIdQwNH5BNLS5+PjuM3S0zLyEyviUD36aTTSomrCx6qdXJK3hZt8IavHb53OAgjCZNtsynrGJAAJkdoJlXzyvC1fs6e2KMxXw0gemW7OYfByylk8vrpA2WWAmJNKsio2Xe3PXH7FNJSkbXBMdrRKnCRO0ursbgp3fTo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=gFU5ZT5g; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-5101cd91017so2348731e87.2 for ; Sat, 10 Feb 2024 15:51:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1707609092; x=1708213892; 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=Dd8YxOHav2NIBiOCgFEkoV0Anep5oU6J4bZR+Xm4AWg=; b=gFU5ZT5gpa7jZy6s7QOlgS92nUSSJctmlb+pOdh8dUzSf/FqhiPyVRn4LQY1yj29bO 4HyLsD6NvPss7SqNfrjK7IdPccBbelfkCJD4HbLNVF+lUibqrQcsmu8qzHE3SBLrhanO GfVGrBVk1dzWuSp6FW2A9gwZknNOIhu0ML7nc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707609092; x=1708213892; 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=Dd8YxOHav2NIBiOCgFEkoV0Anep5oU6J4bZR+Xm4AWg=; b=uBbOiLJAXpfuhn+PC7eO29ln3aa+XDOzp1pWvWBcY35ROtgK4gLvdt92cigNofpB0a WmuR1WNSRVYl2I5xrk6qLiymvFVnvBp4GK0FZBHCpxX2p4Z0q4hneO08o+rbIpG+gGMY HO5dyYxAfyLb5NfeHc8IcuZo/ufyyxoyJ8IQhTplP1z14cBG/OCq9tTSDb2c+CYZBLv7 U38+h/mksqkIczHWJeFCfXx9/tpX13AY1X73aFqir0WjW4Vhlkktml46Y4jPZ/Bmxys4 b2nG8OoZOUfriK+4XMVEIgdyPAXUySEOG3N6GcOXfedYN6P0aXlyUCCa0eObZq1ZPbZp OUuQ== X-Forwarded-Encrypted: i=1; AJvYcCWG7OTyWFbXsTKngG15le6VZcGw7sYinTVQKCMNQAp5coHBizCnInyTUE+258eD+uPmcV78nI/mSK5/KrSo5CHF//dWyARPzUWTeOA0 X-Gm-Message-State: AOJu0Yy6DOv5NQuDdHxyTkxCFdBo1NR0Y1vhFmWNr/KRlfPI0saOxyz4 +xdiHP1fLrwJD6LxV+rN4saROZo/TkDp1anPALqtPLRtradhmoUQ8RwBJQig X-Received: by 2002:a05:6512:3daa:b0:511:3a32:4e4f with SMTP id k42-20020a0565123daa00b005113a324e4fmr2117458lfv.18.1707609092754; Sat, 10 Feb 2024 15:51:32 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVlaws3E7ysFmGoE+aYY8dL18c+FtxDH2nNX6KYz5MWHRf8pG4RMVxy0NShH3yVJWzE914hPswMarERotJ10Zgx4sU8E0l9N50xHOfE+fWwMmcrDvD+g19t4PYN1iV0V2vIk7m0sW+bAs3RKQsvjmDyuwXQDGpE1NytnCoIV0UJIPqga2SKHXDf7tFlXRZtWZhRsa0YaLZnNK5B4dRfy462i3psuwpv2Yli6DmGRsEHKQYFAK7uvskTppDQi9UXoMJGUy10L8tJmUkrBKWWrPH9RK71lkKy6xbr+sIBSWb5f/wWYAtYV7YeU7gtUu3gbu1f0KgY5gs6iWtAplZYSVovCibjwwFzqR3zoVcSQ5D9fDvwnpobaZG38814bfeeZOlqJK4W+l1i/S/nPQOLzxEqmxbLVOHYuYdl43ZWkQg5fAfhVFuUqHW1lGYOcop6WQ44Jm+LKUYupw8YAakSx9jJfEmdcjNIPyZV/vTES6u8mfJOq+e/ckfdLFZGz9z6+hR8Yn3loreULw5hUZ3Cs3Gi17vTghIxym1hZn53L7rmv8BKnIh8U42Iq+ak2iCoNbqLtjpO61HSutpajwtRQz3VN421sjRbyOWBVdBuYnWTlNkMNw== Received: from ukaszb-l.roam.corp.google.com (alfa56.extreme-net.one.pl. [213.77.89.56]) by smtp.gmail.com with ESMTPSA id o27-20020a056512051b00b0051179ae1846sm365561lfb.280.2024.02.10.15.51.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 15:51:32 -0800 (PST) From: =?utf-8?q?=C5=81ukasz_Bartosik?= To: Jason Baron , Jim Cromie , Greg Kroah-Hartman , Andrew Morton , Kees Cook , Douglas Anderson Cc: Guenter Roeck , Yaniv Tzoreff , Benson Leung , Steven Rostedt , Vincent Whitchurch , Pekka Paalanen , Sean Paul , Daniel Vetter , Simon Ser , John Ogness , Petr Mladek , Sergey Senozhatsky , linux-kernel@vger.kernel.org, upstream@semihalf.com Subject: [PATCH v4 38/39] docs/dyndbg: explain new delimiters: comma, percent Date: Sun, 11 Feb 2024 00:50:08 +0100 Message-ID: <20240210235009.2405808-39-ukaszb@chromium.org> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog In-Reply-To: <20240210235009.2405808-1-ukaszb@chromium.org> References: <20240210235009.2405808-1-ukaszb@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790558486726069845 X-GMAIL-MSGID: 1790558486726069845 From: Jim Cromie Add mention of comma and percent in their respective paragraphs. 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 4d681c37e074..2d7ee4e558c8 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