aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_ddll.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-01-22 11:52:13 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-04-06 17:23:55 +0200
commitd31e4e33ac73c0c3239a3bf8a2919165bbed9e88 (patch)
tree348c9cfd2e8ef8968728abee144fcd31d7ad3a89 /erts/emulator/beam/erl_bif_ddll.c
parent73344dc2a5451c6f2e4b1ea4f69de17aa358e88f (diff)
downloadotp-d31e4e33ac73c0c3239a3bf8a2919165bbed9e88.tar.gz
otp-d31e4e33ac73c0c3239a3bf8a2919165bbed9e88.tar.bz2
otp-d31e4e33ac73c0c3239a3bf8a2919165bbed9e88.zip
erts: Add lttng tracepoints for drivers
* driver_event * driver_flush * driver_finish * driver_init * driver_output * driver_outputv * driver_process_exit * driver_ready_async * driver_ready_input * driver_ready_output * driver_start * driver_stop * driver_stop_select * driver_timeout
Diffstat (limited to 'erts/emulator/beam/erl_bif_ddll.c')
-rw-r--r--erts/emulator/beam/erl_bif_ddll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bif_ddll.c b/erts/emulator/beam/erl_bif_ddll.c
index f006856b6a..b526eda41d 100644
--- a/erts/emulator/beam/erl_bif_ddll.c
+++ b/erts/emulator/beam/erl_bif_ddll.c
@@ -48,6 +48,7 @@
#include "erl_version.h"
#include "erl_bif_unique.h"
#include "dtrace-wrapper.h"
+#include "lttng-wrapper.h"
#ifdef ERTS_SMP
#define DDLL_SMP 1
@@ -1619,6 +1620,7 @@ static int do_unload_driver_entry(DE_Handle *dh, Eterm *save_name)
if (q->finish) {
int fpe_was_unmasked = erts_block_fpe();
DTRACE1(driver_finish, q->name);
+ LTTNG1(driver_finish, q->name);
(*(q->finish))();
erts_unblock_fpe(fpe_was_unmasked);
}