aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erlang_lttng.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-08-17 15:25:26 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-06 17:23:55 +0200
commit73344dc2a5451c6f2e4b1ea4f69de17aa358e88f (patch)
tree739bd656171108aed2bcba3aa227c8e34a12bfca /erts/emulator/beam/erlang_lttng.h
parentce5d152cd863b68dcc2b5c7a566d1e5e1a5c5dab (diff)
downloadotp-73344dc2a5451c6f2e4b1ea4f69de17aa358e88f.tar.gz
otp-73344dc2a5451c6f2e4b1ea4f69de17aa358e88f.tar.bz2
otp-73344dc2a5451c6f2e4b1ea4f69de17aa358e88f.zip
erts: Add lttng tracepoints for scheduler events
* scheduler_poll
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