aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/module.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-01-26 19:34:22 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:04 +0100
commitcd366260e689d97845c56f30ef960853099465ab (patch)
tree52d5e0c0985b3de0a251818b263ab873280da57b /erts/emulator/beam/module.c
parente60c9cd4356a91c10657b5de86af8279ccd6eb79 (diff)
downloadotp-cd366260e689d97845c56f30ef960853099465ab.tar.gz
otp-cd366260e689d97845c56f30ef960853099465ab.tar.bz2
otp-cd366260e689d97845c56f30ef960853099465ab.zip
erts: Keep count of number of global traced functions per module
Diffstat (limited to 'erts/emulator/beam/module.c')
-rw-r--r--erts/emulator/beam/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/module.c b/erts/emulator/beam/module.c
index 4174f59446..26c73fff1a 100644
--- a/erts/emulator/beam/module.c
+++ b/erts/emulator/beam/module.c
@@ -76,6 +76,8 @@ static Module* module_alloc(Module* tmpl)
obj->old.nif = NULL;
obj->curr.num_breakpoints = 0;
obj->old.num_breakpoints = 0;
+ obj->curr.num_traced_exports = 0;
+ obj->old.num_traced_exports = 0;
return obj;
}