From nobody Tue Feb 10 07:39:05 2026 Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) (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 5F6D53E9F8D for ; Thu, 5 Feb 2026 13:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.196 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770299945; cv=none; b=tJD1KMZiATrjFs/U7g8RhjRQd4xNdDGA0t8QWgw+VeuWhpIszYzpZhZkLmaUWPio+2IYQiRrm2zhW3gskpZUwnSDKVQScFOrCeEmvnbjjuKU+P5HIt3ij9izp9bguOvIa/9KYqTxQNwrWHNTP7dEs3nekqvaFaMyQsVN5RhZMIE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770299945; c=relaxed/simple; bh=dfSf90CX2fFuCBXs9FEXQJWwoweCuaJmCw5t3YHWiD4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H8psXRpAZYCUyItm8y1rCSwXB8jmnp9pQLuUpFADlq6vlBnmFgvSzIJL3Mp897obYQc7siReD9p9hLxYwPx33MsPt4yY+vXDK89SBGxacBe2SxBDbOkn/MXIhG39f/sgpkrP5ypgPQOxj6ylA2OJY+oFr94mpDb8vTB9wb8aGWA= 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=lskdNJM1; arc=none smtp.client-ip=209.85.222.196 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="lskdNJM1" Received: by mail-qk1-f196.google.com with SMTP id af79cd13be357-8c69ffb226eso126131585a.1 for ; Thu, 05 Feb 2026 05:59:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770299944; x=1770904744; 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=r25epDAJMQ/dj4/lD+Zndgkln/iNdOm3o/jXssTljSE=; b=lskdNJM1jt+SEUCstya50W8LVNRwAtMVYdQs7sHvrjiDN1OQXrp6FvMsTu42pEh5rL HEy8sl+69X39EDcfGL8HsKFl0ldYRqdPUvomviRo2FEv4d0Le3KKP2Eda1xXs44fsnqA Wpz4xGu3wCEuY+v9zvODzJ7wO8mBwuVnoYslN13S8xoA/g/tT75Gy4n2cb8dNccFm0Q5 BPfk6CibcnI9Css3xJYm5h6Nrg+EzpmTB5HF5CCFfFiH/X25UZ2hoC6Oh3FGXOS4IfPr GOAnDbVkQ/AeWhyHMiKMTZ5jjoj2e6DVmjHPBP0MyDOBfeQXnmip4NlpWH5qh3ahzjxN ZF/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770299944; x=1770904744; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=r25epDAJMQ/dj4/lD+Zndgkln/iNdOm3o/jXssTljSE=; b=Sp5RYcycRLwixlkzpfFU5SyqwFAHvqttHuDDfsmj8K1A/Hv01aQgQ1U8eEvSJFS3P9 c+A1hoGLcuIX+vcvML4KbnuwjzGcyj05xFViBvV34pL11ST8i6px5r6dvft/Mx4CbNtL ycSh8HLkPyon+N6spwrHYLMHXVgYk7Ejvm6Y/ZbZIVtpMzPxkJ+OiaTVZcTqn2w5NB/h SAx6795DDkN3DUXHinwI2ORjVNn+MStczTS5E8UpUDbYH9/2U+Ap1ACy35yRLMsOCrhj YUfFVa04qb8QlSwjk8q7SjH3JueTwo+82Oa5wZkfdwZTeJY8Y5f/me/ojTn93wdmw6tP ZE7A== X-Forwarded-Encrypted: i=1; AJvYcCW/8cyB9acHLRBs8jBsbD2LekYZY27Zfny2NxXDe4sOeNrdQ3M0MvHlbPt3Y2I7sLs+h7A6hIX8X6bczkg=@vger.kernel.org X-Gm-Message-State: AOJu0YzF1tBOTGXPv8XBwwH9oxgqy5j4ZfW0uWu4K/YBml8pDpytcyrr ndgBVIQS2DtGxnRJXL4OXSLOYrqEOC9vKV4K7oSlkcpjzo3zUdv0ORPh X-Gm-Gg: AZuq6aJpG5F5mxscJMmNSE7gLuy7vSjE0BZ4hHg32t+1RQ8jDIFApAm08FzZ95tHzBK g3pJXpE+An1j38gPybcQzO4y2Ep6cRLE5b5FIylrKkdw7IyCFYTqZA+Er9xr+4XzDIdm1Hel3yU qQ6wJ2whCRPzg1WkL7MLfiVlaoMxBofSSWTg655CMOipyJQejwMYi7P+U2RT0MuDdFDYNydwaQc Eef7ok2FxJsMM5mEV1BcnqJYhGrKLExUCmLfopPznQuDeZ4aPnxlVsMyIMiOH734O1X5DdEORYk K399uZvy77kwjaomeO/Eo5RLz/a+qyN8oGXeCQFXL5OIZShdNN82mhvXi1L3jjjNJK1jiRUVyIa vWUCe6JYUd+CP14p1XS2cFk16BhwElPwIM2d2bznIg3y8A/gK2UYSxN6ThaFaLIw4acumwJLvo2 TW+kMIfk2/Vvm7XFAEtRQT52Jfu7J3pRmpoy4fd3eA+URqRpVIUIAQFPpMjkItH2Fm+PyWB8w= X-Received: by 2002:a05:620a:4009:b0:8c7:1986:6b3e with SMTP id af79cd13be357-8ca2f83bdd4mr765898885a.32.1770299944301; Thu, 05 Feb 2026 05:59:04 -0800 (PST) Received: from pc.mynetworksettings.com ([2600:4041:4491:2000:87a6:ecbb:44f:b3c1]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8ca2fd40f9asm404975985a.41.2026.02.05.05.59.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Feb 2026 05:59:03 -0800 (PST) From: "Seokwoo Chung (Ryan)" To: mhiramat@kernel.org Cc: rostedt@goodmis.org, corbet@lwn.net, shuah@kernel.org, mathieu.desnoyers@efficios.com, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, "Seokwoo Chung (Ryan)" Subject: [PATCH v6 3/4] docs: tracing/fprobe: Document list filters and :entry/:exit Date: Thu, 5 Feb 2026 08:58:41 -0500 Message-ID: <20260205135842.20517-4-seokwoo.chung130@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260205135842.20517-1-seokwoo.chung130@gmail.com> References: <20260205135842.20517-1-seokwoo.chung130@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" Update fprobe event documentation to describe comma-separated symbol lists, exclusions, and explicit suffixes. Signed-off-by: Seokwoo Chung (Ryan) --- Documentation/trace/fprobetrace.rst | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/trace/fprobetrace.rst b/Documentation/trace/fpro= betrace.rst index b4c2ca3d02c1..bbcfd57f0005 100644 --- a/Documentation/trace/fprobetrace.rst +++ b/Documentation/trace/fprobetrace.rst @@ -25,14 +25,18 @@ Synopsis of fprobe-events ------------------------- :: =20 - f[:[GRP1/][EVENT1]] SYM [FETCHARGS] : Probe on fun= ction entry - f[MAXACTIVE][:[GRP1/][EVENT1]] SYM%return [FETCHARGS] : Probe on fun= ction exit + f[:[GRP1/][EVENT1]] SYM[%return] [FETCHARGS] : Single function + f[:[GRP1/][EVENT1]] SYM[,[!]SYM[,...]][:entry|:exit] [FETCHARGS] :Multip= le + function t[:[GRP2/][EVENT2]] TRACEPOINT [FETCHARGS] : Probe on tra= cepoint =20 GRP1 : Group name for fprobe. If omitted, use "fprobes" for it. GRP2 : Group name for tprobe. If omitted, use "tracepoints" for= it. EVENT1 : Event name for fprobe. If omitted, the event name is - "SYM__entry" or "SYM__exit". + - For a single literal symbol, the event name is + "SYM__entry" or "SYM__exit". + - For a *list or any wildcard*, an explicit [GRP1/][EVENT1] is + required; otherwise the parser rejects it. EVENT2 : Event name for tprobe. If omitted, the event name is the same as "TRACEPOINT", but if the "TRACEPOINT" starts with a digit character, "_TRACEPOINT" is used. @@ -40,6 +44,13 @@ Synopsis of fprobe-events can be probed simultaneously, or 0 for the default value as defined in Documentation/trace/fprobe.rst =20 + SYM : Function name or comma-separated list of symbols. + - SYM prefixed with "!" are exclusions. + - ":entry" suffix means it probes entry of given symbols + (default) + - ":exit" suffix means it probes exit of given symbols. + - "%return" suffix means it probes exit of SYM (single + symbol). FETCHARGS : Arguments. Each probe can have up to 128 args. ARG : Fetch "ARG" function argument using BTF (only for functi= on entry or tracepoint.) (\*1) --=20 2.43.0