File 3942-erts-Polish-match_spec-docs-to-refer-to-the-new-trac.patch of Package erlang
From 39109194aa7eac8b533faff7775e565e55916737 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Wed, 4 Mar 2026 16:44:40 +0100
Subject: [PATCH 2/2] erts: Polish match_spec docs to refer to the new trace
functions
---
erts/doc/guides/match_spec.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/erts/doc/guides/match_spec.md b/erts/doc/guides/match_spec.md
index eb8e70c9b4..4e0d169cc4 100644
--- a/erts/doc/guides/match_spec.md
+++ b/erts/doc/guides/match_spec.md
@@ -23,7 +23,7 @@ limitations under the License.
A "match specification" (`match_spec`) is an Erlang term describing a small
"program" that tries to match something. It can be used to either control
-tracing with `erlang:trace_pattern/3` or to search for objects in an ETS table
+tracing with `trace:function/4` or to search for objects in an ETS table
with for example `ets:select/2`. The match specification in many ways works like
a small function in Erlang, but is interpreted/compiled by the Erlang runtime
system to something much more efficient than calling an Erlang function. The
@@ -324,7 +324,7 @@ The functions allowed only for tracing work as follows:
later calls, that is, call trace messages are inhibited even if
`{message, true}` is called in the `MatchBody` part for a traced function.
- This mode can also be activated with flag `silent` to `erlang:trace/3`.
+ This mode can also be activated with flag `silent` to `trace:process/4`.
If the argument is `false`, the call trace message mode for the current
process is set to normal (non-silent) for this call and all later calls.
--
2.51.0