diff options
author | Sverker Eriksson <[email protected]> | 2016-03-17 16:35:08 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-05-04 19:53:37 +0200 |
commit | 5cb62b003d082c5a32ef5b12a89d872a317fd05f (patch) | |
tree | 04cae6377f78cfad3db7165d44daa37c525be507 /erts/emulator/beam/erl_db_util.h | |
parent | 8b2906d9974decf9e8bab24a8f753ba81a025410 (diff) | |
download | otp-5cb62b003d082c5a32ef5b12a89d872a317fd05f.tar.gz otp-5cb62b003d082c5a32ef5b12a89d872a317fd05f.tar.bz2 otp-5cb62b003d082c5a32ef5b12a89d872a317fd05f.zip |
erts: Add matchspec restrictions for 'receive' trace
and non-call-trace.
This is the easy way out to avoid difficult locking
scenarios when accessing tracing flags on another process.
Diffstat (limited to 'erts/emulator/beam/erl_db_util.h')
-rw-r--r-- | erts/emulator/beam/erl_db_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db_util.h b/erts/emulator/beam/erl_db_util.h index c3eb82a44a..60f7067d70 100644 --- a/erts/emulator/beam/erl_db_util.h +++ b/erts/emulator/beam/erl_db_util.h @@ -425,6 +425,11 @@ typedef struct dmc_err_info { #define DCOMP_FAKE_DESTRUCTIVE ((Uint) 8) /* When this is active, no setting of trace control words or seq_trace tokens will be done. */ +/* Allow lock seizing operations on the tracee and 3rd party processes */ +#define DCOMP_ALLOW_TRACE_OPS ((Uint) 0x10) + +/* This is call trace */ +#define DCOMP_CALL_TRACE ((Uint) 0x20) Binary *db_match_compile(Eterm *matchexpr, Eterm *guards, Eterm *body, int num_matches, |