Skip to content

Commit

Permalink
fixup! doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sverker committed Aug 28, 2024
1 parent 86d7074 commit 9471ae9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions erts/doc/guides/match_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,13 @@ The functions allowed only for tracing work as follows:
identifier or the registered name of a process to set trace flags on, the
second is the disable list, and the third is the enable list.

When used by the new `m:trace` API, trace flag `tracer` is not allowed and the
When used via the new `m:trace` API, trace flag `tracer` is not allowed and the
receiving tracer is always the tracer of the current session.

When used by the legacy function `erlang:trace_pattern/3`, trace flag `tracer`
When used via the legacy function `erlang:trace_pattern/3`, trace flag `tracer`
is allowed. If no tracer is specified, the same tracer as the process
executing the match specification is used (not the meta tracer). If that
process doesn't have tracer either, then trace flags are ignored.
process doesn't have a tracer either, then trace flags are ignored.

When using a [tracer module](`m:erl_tracer`), the module must be loaded before
the match specification is executed. If it is not loaded, the match fails.
Expand Down

0 comments on commit 9471ae9

Please sign in to comment.