lsprof records profile from sub threads, but does not save them.
Bug #579185 reported by
Gary van der Merwe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Gary van der Merwe |
Bug Description
This can be observed by running the following testcase:
#!/usr/bin/env python
import bzrlib.lsprof
import threading
class thread (threading.Thread):
def run(self):
self.a()
def a (self):
print 'a'
p = bzrlib.
p.start()
t = thread()
t.start()
t.join()
p.stop(
I have started working on this, and have a patch that make callgrind work, but I need to get other formats work, and look at tests.
Related branches
tags: | added: check-for-breezy |
To post a comment you must log in.