| Index: tools/process-heap-prof.py
|
| diff --git a/tools/process-heap-prof.py b/tools/process-heap-prof.py
|
| index 6a2c3978d21ff1660d19ae2edcd9a611ba19bd1b..a26cbf1589b3b5535d46d86d8403b500e51bb51b 100755
|
| --- a/tools/process-heap-prof.py
|
| +++ b/tools/process-heap-prof.py
|
| @@ -47,7 +47,7 @@ def ProcessLogFile(filename, options):
|
| itemname = 'heap-js-cons-item'
|
| else:
|
| itemname = 'heap-sample-item'
|
| -
|
| +
|
| first_call_time = None
|
| sample_time = 0.0
|
| sampling = False
|
| @@ -108,11 +108,11 @@ def Main():
|
| if not ProcessOptions(options):
|
| parser.print_help()
|
| sys.exit();
|
| -
|
| +
|
| if not args:
|
| print "Missing logfile"
|
| sys.exit();
|
| -
|
| +
|
| ProcessLogFile(args[0], options)
|
|
|
|
|
|
|