aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/c_src/dyntrace_lttng.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-20 11:47:16 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-29 18:31:36 +0200
commita80b7eeb9927309cdbc68296ca9892486a3a8707 (patch)
tree6373054b1d5a283f8ea76204938b948d6b147c2d /lib/runtime_tools/c_src/dyntrace_lttng.h
parent4e2a61519f022a85e7774d9be65067d33256cb01 (diff)
downloadotp-a80b7eeb9927309cdbc68296ca9892486a3a8707.tar.gz
otp-a80b7eeb9927309cdbc68296ca9892486a3a8707.tar.bz2
otp-a80b7eeb9927309cdbc68296ca9892486a3a8707.zip
runtime_tools: Extend 'trace' and 'enabled' tracer callbacks
Adds the following capabilities to dyntrace * enabled_running_ports/3 * enabled_running_procs/3 changed from enabled_running/3 * trace_running_ports/6 * trace_running_procs/6 changed from trace_running/6
Diffstat (limited to 'lib/runtime_tools/c_src/dyntrace_lttng.h')
-rw-r--r--lib/runtime_tools/c_src/dyntrace_lttng.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/runtime_tools/c_src/dyntrace_lttng.h b/lib/runtime_tools/c_src/dyntrace_lttng.h
index 541a6c16e8..3550a1cab5 100644
--- a/lib/runtime_tools/c_src/dyntrace_lttng.h
+++ b/lib/runtime_tools/c_src/dyntrace_lttng.h
@@ -196,6 +196,21 @@ TRACEPOINT_EVENT(
)
)
+TRACEPOINT_EVENT(
+ com_ericsson_dyntrace,
+ port_scheduled,
+ TP_ARGS(
+ char*, p,
+ char*, op,
+ char*, type
+ ),
+ TP_FIELDS(
+ ctf_string(pid, p)
+ ctf_string(entry, op)
+ ctf_string(type, type)
+ )
+)
+
/* Call tracing */
TRACEPOINT_EVENT(