[pypy-commit] pypy vmprof-0.4.8: added prefix vmprof_ to wrong callsite

plan_rich pypy.commits at gmail.com
Wed Jun 7 07:06:38 EDT 2017


Author: Richard Plangger <planrichi at gmail.com>
Branch: vmprof-0.4.8
Changeset: r91559:ba7e4af9836a
Date: 2017-06-07 07:05 -0400
http://bitbucket.org/pypy/pypy/changeset/ba7e4af9836a/

Log:	added prefix vmprof_ to wrong callsite

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
@@ -98,8 +98,8 @@
     return space.newtext(path)
 
 def stop_sampling(space):
-    return space.newint(rvmprof.vmprof_stop_sampling(space))
+    return space.newint(rvmprof.stop_sampling(space))
 
 def start_sampling(space):
-    rvmprof.vmprof_start_sampling(space)
+    rvmprof.start_sampling(space)
     return space.w_None
diff --git a/rpython/rlib/rvmprof/__init__.py b/rpython/rlib/rvmprof/__init__.py
--- a/rpython/rlib/rvmprof/__init__.py
+++ b/rpython/rlib/rvmprof/__init__.py
@@ -56,8 +56,8 @@
     return None
 
 def stop_sampling(space):
-    fd = _get_vmprof().cintf.stop_sampling()
+    fd = _get_vmprof().cintf.vmprof_stop_sampling()
     return rffi.cast(lltype.Signed, fd)
 
 def start_sampling(space):
-    _get_vmprof().cintf.start_sampling()
+    _get_vmprof().cintf.vmprof_start_sampling()


More information about the pypy-commit mailing list