aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erlang_lttng.h
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/erlang_lttng.h')
-rw-r--r--erts/emulator/beam/erlang_lttng.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/erts/emulator/beam/erlang_lttng.h b/erts/emulator/beam/erlang_lttng.h
index 2fab6fb698..5b5dc5548e 100644
--- a/erts/emulator/beam/erlang_lttng.h
+++ b/erts/emulator/beam/erlang_lttng.h
@@ -30,6 +30,20 @@
#include <lttng/tracepoint.h>
+/* Schedulers */
+
+TRACEPOINT_EVENT(
+ com_ericsson_otp,
+ scheduler_poll,
+ TP_ARGS(
+ int, id,
+ int, runnable
+ ),
+ TP_FIELDS(
+ ctf_integer(int, scheduler, id)
+ ctf_integer(int, runnable, runnable)
+ )
+)
#ifndef LTTNG_CARRIER_STATS
#define LTTNG_CARRIER_STATS