aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-08-29 18:39:21 +0200
committerRickard Green <[email protected]>2016-08-29 18:39:21 +0200
commitb815d568e2e43d96698dbb8de6b993d55c1b14a0 (patch)
treea2ecbfa7529ea14fb6376882c8bcbcbfc36509b8 /erts/emulator/beam/global.h
parent5006f1e0c45d4e9b888b2c0ca48130049d33074c (diff)
parentc429c3d042ba274d4225a6d79b2f1df8cfd19983 (diff)
downloadotp-b815d568e2e43d96698dbb8de6b993d55c1b14a0.tar.gz
otp-b815d568e2e43d96698dbb8de6b993d55c1b14a0.tar.bz2
otp-b815d568e2e43d96698dbb8de6b993d55c1b14a0.zip
Merge branch 'rickard/ds-trace/OTP-13822' into maint
* rickard/ds-trace/OTP-13822: Fix tracing of processes executing dirty
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 7a00cd8f6e..e6dc5303a8 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -61,9 +61,12 @@ struct enif_environment_t /* ErlNifEnv */
extern void erts_pre_nif(struct enif_environment_t*, Process*,
struct erl_module_nif*, Process* tracee);
extern void erts_post_nif(struct enif_environment_t* env);
+#ifdef ERTS_DIRTY_SCHEDULERS
extern void erts_pre_dirty_nif(ErtsSchedulerData *,
struct enif_environment_t*, Process*,
- struct erl_module_nif*, Process* tracee);
+ struct erl_module_nif*);
+extern void erts_post_dirty_nif(struct enif_environment_t* env);
+#endif
extern Eterm erts_nif_taints(Process* p);
extern void erts_print_nif_taints(int to, void* to_arg);
void erts_unload_nif(struct erl_module_nif* nif);