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

Unified Diff: tools/linux-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 | « src/log.cc ('k') | tools/tickprocessor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/linux-tick-processor.py
===================================================================
--- tools/linux-tick-processor.py (revision 1294)
+++ tools/linux-tick-processor.py (working copy)
@@ -60,9 +60,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.
@@ -75,11 +76,13 @@
state = 2
if key in ("-o", "--other"):
state = 3
+ if key in ("--ignore-unknown"):
+ ignore_unknown = True
# do the processing.
if len(args) != 1:
Usage();
tick_processor = LinuxTickProcessor()
- tick_processor.ProcessLogfile(args[0], state)
+ tick_processor.ProcessLogfile(args[0], state, ignore_unknown)
tick_processor.PrintResults()
if __name__ == '__main__':
« no previous file with comments | « src/log.cc ('k') | tools/tickprocessor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698