Fix call to retrace in compiledump.py
Change-Id: Icfe77e70222dc8dcc982a2771186fc0769d12c39
diff --git a/tools/retrace.py b/tools/retrace.py
index ea06566..c087b31 100755
--- a/tools/retrace.py
+++ b/tools/retrace.py
@@ -3,14 +3,14 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
-import archive
import argparse
import jdk
import subprocess
import sys
-import tempfile
+
import utils
+
def parse_arguments():
parser = argparse.ArgumentParser(
description = 'R8lib wrapper for retrace tool.')
@@ -60,12 +60,11 @@
return run(
map_path,
args.stacktrace,
- args.commit_hash is not None,
args.no_r8lib,
quiet=args.quiet,
debug=args.debug_agent)
-def run(map_path, stacktrace, is_hash, no_r8lib, quiet=False, debug=False):
+def run(map_path, stacktrace, no_r8lib, quiet=False, debug=False):
retrace_args = [jdk.GetJavaExecutable()]
if debug: