aboutsummaryrefslogtreecommitdiff
blob: 88264413a81f5046b9925a8faf67953f5acc6710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from pypy.interpreter.mixedmodule import MixedModule

class Module(MixedModule):
    """
    Write me :)
    """
    appleveldefs = {
    }

    interpleveldefs = {
        'enable': 'interp_vmprof.enable',
        'disable': 'interp_vmprof.disable',
    }

    def setup_after_space_initialization(self):
        # force the __extend__ hacks to occur early
        from pypy.module._vmprof.interp_vmprof import VMProf
        self.vmprof = VMProf()