aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/c_src/dyntrace_lttng.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-03 14:03:45 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-04-29 18:31:34 +0200
commitd4c938686562d3c5ccf6a34aafeef6460b9b88f8 (patch)
tree4e0d9ce43afd6fe10a0e8d04d2d7b6300e31e758 /lib/runtime_tools/c_src/dyntrace_lttng.h
parentb36c6d949916e1d7b0f6bee17004c012e6a36112 (diff)
downloadotp-d4c938686562d3c5ccf6a34aafeef6460b9b88f8.tar.gz
otp-d4c938686562d3c5ccf6a34aafeef6460b9b88f8.tar.bz2
otp-d4c938686562d3c5ccf6a34aafeef6460b9b88f8.zip
runtime_tools: Add lttng 'send' and 'receive' tracing
Diffstat (limited to 'lib/runtime_tools/c_src/dyntrace_lttng.h')
-rw-r--r--lib/runtime_tools/c_src/dyntrace_lttng.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/runtime_tools/c_src/dyntrace_lttng.h b/lib/runtime_tools/c_src/dyntrace_lttng.h
index 1271f7516a..03cf8a27c1 100644
--- a/lib/runtime_tools/c_src/dyntrace_lttng.h
+++ b/lib/runtime_tools/c_src/dyntrace_lttng.h
@@ -147,6 +147,36 @@ TRACEPOINT_EVENT(
)
)
+/* Process messages */
+
+TRACEPOINT_EVENT(
+ com_ericsson_dyntrace,
+ message_send,
+ TP_ARGS(
+ char*, sender,
+ char*, receiver,
+ char*, msg
+ ),
+ TP_FIELDS(
+ ctf_string(from, sender)
+ ctf_string(to, receiver)
+ ctf_string(message, msg)
+ )
+)
+
+TRACEPOINT_EVENT(
+ com_ericsson_dyntrace,
+ message_receive,
+ TP_ARGS(
+ char*, receiver,
+ char*, msg
+ ),
+ TP_FIELDS(
+ ctf_string(to, receiver)
+ ctf_string(message, msg)
+ )
+)
+
/* Process Memory */
TRACEPOINT_EVENT(