summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/erl_db_tree.c
diff options
context:
space:
mode:
authorJohn Högberg <john@erlang.org>2019-08-27 13:11:25 +0200
committerJohn Högberg <john@erlang.org>2019-09-16 14:21:25 +0200
commit40356bd2ae0e4f4c31204b3dd13d14541442f1a1 (patch)
treec3845959870988c148b2fbade94808bd1ebc0ae8 /erts/emulator/beam/erl_db_tree.c
parent20cf78bed119da47c66c3efd77c8199b424582b7 (diff)
downloaderlang-40356bd2ae0e4f4c31204b3dd13d14541442f1a1.tar.gz
erts: Refactor BIF tracing
This commit replaces our current BIF-specific tracing functionality with the general function/export tracing used for everything else, fixing a few longstanding issues: * BIFs that trapped to themselves, for example lists:reverse/2, would generate a call trace message for each trap but only a single return trace message. * BIFs that trapped elsewhere, like erlang:delete_module/1, would lose their return trace messages altogether. * Return/exception trace messages on tail calls would point at the function "above" the caller. * Call count tracing simply didn't work.
Diffstat (limited to 'erts/emulator/beam/erl_db_tree.c')
0 files changed, 0 insertions, 0 deletions