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

Unified Diff: tools/windows-tick-processor.py

Issue 21410: Include all the code in code creation log events. The code object header size... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/tickprocessor.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/windows-tick-processor.py
===================================================================
--- tools/windows-tick-processor.py (revision 1294)
+++ tools/windows-tick-processor.py (working copy)
@@ -113,9 +113,10 @@
def Main():
# parse command line options
+ ignore_unknown = False
state = None;
try:
- opts, args = getopt.getopt(sys.argv[1:], "jgco", ["js", "gc", "compiler", "other"])
+ opts, args = getopt.getopt(sys.argv[1:], "jgco", ["js", "gc", "compiler", "other", "ignore-unknown"])
except getopt.GetoptError:
usage()
# process options.
@@ -128,12 +129,14 @@
state = 2
if key in ("-o", "--other"):
state = 3
+ if key in ("--ignore-unknown"):
+ ignore_unknown = True
# do the processing.
if len(args) != 2:
Usage();
tickprocessor = WindowsTickProcessor()
tickprocessor.ParseMapFile(args[0])
- tickprocessor.ProcessLogfile(args[1], state)
+ tickprocessor.ProcessLogfile(args[1], state, ignore_unknown)
tickprocessor.PrintResults()
if __name__ == '__main__':
« no previous file with comments | « tools/tickprocessor.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698