Show More
@@ -878,7 +878,8 b' def write_to_chrome(data, fp, minthresho' | |||||
878 | laststack = collections.deque(stack) |
|
878 | laststack = collections.deque(stack) | |
879 | while laststack: |
|
879 | while laststack: | |
880 | poplast() |
|
880 | poplast() | |
881 |
events = [s |
|
881 | events = [sample for idx, sample in enumerate(samples) | |
|
882 | if idx not in blacklist] | |||
882 | frames = collections.OrderedDict((str(k), v) |
|
883 | frames = collections.OrderedDict((str(k), v) | |
883 | for (k,v) in enumerate(id2stack)) |
|
884 | for (k,v) in enumerate(id2stack)) | |
884 | json.dump(dict(traceEvents=events, stackFrames=frames), fp, indent=1) |
|
885 | json.dump(dict(traceEvents=events, stackFrames=frames), fp, indent=1) |
General Comments 0
You need to be logged in to leave comments.
Login now