diff options
author | Björn-Egil Dahlberg <[email protected]> | 2010-04-30 15:03:56 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-03 14:54:20 +0200 |
commit | 5bd5aa849475b505a5b0798295511a6a0b4885a4 (patch) | |
tree | 9e14f1cdc0872ca07d586973e06bc15a27ac6ff9 /erts/emulator/beam/global.h | |
parent | 891682094bf1db038cdf9addffe0b107f40ab6ec (diff) | |
download | otp-5bd5aa849475b505a5b0798295511a6a0b4885a4.tar.gz otp-5bd5aa849475b505a5b0798295511a6a0b4885a4.tar.bz2 otp-5bd5aa849475b505a5b0798295511a6a0b4885a4.zip |
Teach call_time trace to use intruction pointers
call_time trace will use instruction pointers instead of
breakpoint data pointers. More costly lookup but the bdt
structure might be deallocated, we do not want that.
Remove unnecessary pattern lock.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 8d087fd7d6..b042f14a7b 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1744,7 +1744,7 @@ struct trace_pattern_flags { unsigned int call_time : 1; /* Fast call time breakpoint */ }; extern const struct trace_pattern_flags erts_trace_pattern_flags_off; -extern struct trace_pattern_flags erts_default_trace_pattern_flags; /* used with blocksystem */ +extern int erts_call_time_breakpoint_tracing; int erts_set_trace_pattern(Eterm* mfa, int specified, Binary* match_prog_set, Binary *meta_match_prog_set, int on, struct trace_pattern_flags, |