diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-08-17 15:25:26 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-06 17:23:55 +0200 |
commit | 73344dc2a5451c6f2e4b1ea4f69de17aa358e88f (patch) | |
tree | 739bd656171108aed2bcba3aa227c8e34a12bfca /erts/emulator/beam/erlang_lttng.h | |
parent | ce5d152cd863b68dcc2b5c7a566d1e5e1a5c5dab (diff) | |
download | otp-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.h | 14 |
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 |