Author: Maciej Fijalkowski <[email protected]>
Branch: vmprof
Changeset: r76469:bc67a7dfe373
Date: 2015-03-19 12:48 +0200
http://bitbucket.org/pypy/pypy/changeset/bc67a7dfe373/
Log: use the correct callback
diff --git a/pypy/module/_vmprof/interp_vmprof.py
b/pypy/module/_vmprof/interp_vmprof.py
--- a/pypy/module/_vmprof/interp_vmprof.py
+++ b/pypy/module/_vmprof/interp_vmprof.py
@@ -142,7 +142,7 @@
pypy_vmprof_init()
self.ever_enabled = True
self.gather_all_code_objs(space)
- space.register_code_callback(self.register_code)
+ space.register_code_callback(vmprof_register_code)
if we_are_translated():
# does not work untranslated
res = vmprof_enable(fileno, period, 0,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit