Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: appengine/findit/crash/callstack_filters.py

Issue 2593383002: [Predator] Move ``FilterStackBuffer`` from stack parser to ``AddFilteredStack`` of stacktrace buffe… (Closed)
Patch Set: Rebase Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | appengine/findit/crash/chromecrash_parser.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import re 5 import re
6 6
7 from crash.stacktrace import CallStack 7 from crash.stacktrace import CallStack
8 from crash.type_enums import LanguageType 8 from crash.type_enums import LanguageType
9 9
10 _INLINE_FUNCTION_FILE_PATH_MARKERS = [ 10 _INLINE_FUNCTION_FILE_PATH_MARKERS = [
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 break 200 break
201 201
202 if V8_DEP_PATH_MARKER in frame.dep_path: 202 if V8_DEP_PATH_MARKER in frame.dep_path:
203 break 203 break
204 204
205 if not need_filter_v8: 205 if not need_filter_v8:
206 return stack_buffer 206 return stack_buffer
207 207
208 stack_buffer.frames = filter( 208 stack_buffer.frames = filter(
209 lambda f: V8_DEP_PATH_MARKER not in f.dep_path, stack_buffer.frames) 209 lambda f: V8_DEP_PATH_MARKER not in f.dep_path, stack_buffer.frames)
210
211 return stack_buffer 210 return stack_buffer
OLDNEW
« no previous file with comments | « no previous file | appengine/findit/crash/chromecrash_parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698