aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_trace.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-03-03 19:34:50 +0100
committerSverker Eriksson <[email protected]>2016-05-04 19:53:36 +0200
commit4a4475dea3ab0daf29f9a49ce845fa062387362a (patch)
tree00bd0d6579ae1c3990fd6f8170ba4ce41a3746b8 /erts/emulator/beam/erl_trace.h
parentaf2a4c5a40c62da775caa92df5164fbee08b9245 (diff)
downloadotp-4a4475dea3ab0daf29f9a49ce845fa062387362a.tar.gz
otp-4a4475dea3ab0daf29f9a49ce845fa062387362a.tar.bz2
otp-4a4475dea3ab0daf29f9a49ce845fa062387362a.zip
erts: Add match spec for send trace
Diffstat (limited to 'erts/emulator/beam/erl_trace.h')
-rw-r--r--erts/emulator/beam/erl_trace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_trace.h b/erts/emulator/beam/erl_trace.h
index 9a007e62ec..e8e968c0cf 100644
--- a/erts/emulator/beam/erl_trace.h
+++ b/erts/emulator/beam/erl_trace.h
@@ -220,4 +220,12 @@ ERTS_DECLARE_DUMMY(erts_tracer_nil) = NIL;
&& erts_is_tracer_proc_enabled(PROC, ERTS_PROC_LOCK_MAIN, \
&(PROC)->common, am_trace_status))
+typedef struct
+{
+ int on;
+ struct binary* match_spec;
+} ErtsTracingEvent;
+
+extern ErtsTracingEvent erts_send_tracing[];
+
#endif /* ERL_TRACE_H__ */