diff options
author | Rickard Green <[email protected]> | 2016-08-25 15:34:43 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-08-29 16:26:25 +0200 |
commit | c429c3d042ba274d4225a6d79b2f1df8cfd19983 (patch) | |
tree | e0a4ecdbe38eaf3ed26cb589ab67bb7965c6ffc7 /erts/emulator/beam/global.h | |
parent | 0e04e76df2ea71e2e2e116afef04c497d84b1024 (diff) | |
download | otp-c429c3d042ba274d4225a6d79b2f1df8cfd19983.tar.gz otp-c429c3d042ba274d4225a6d79b2f1df8cfd19983.tar.bz2 otp-c429c3d042ba274d4225a6d79b2f1df8cfd19983.zip |
Fix tracing of processes executing dirty
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index ca11d102e0..9bc12c7b55 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -62,9 +62,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); |