Show More
@@ -878,7 +878,8 b' def write_to_chrome(data, fp, minthresho' | |||
|
878 | 878 | laststack = collections.deque(stack) |
|
879 | 879 | while laststack: |
|
880 | 880 | poplast() |
|
881 |
events = [s |
|
|
881 | events = [sample for idx, sample in enumerate(samples) | |
|
882 | if idx not in blacklist] | |
|
882 | 883 | frames = collections.OrderedDict((str(k), v) |
|
883 | 884 | for (k,v) in enumerate(id2stack)) |
|
884 | 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