diff options
author | Mark Hansen <markhansen@google.com> | 2024-04-04 03:00:09 +0000 |
---|---|---|
committer | Mark Hansen <markhansen@google.com> | 2024-04-04 03:00:17 +0000 |
commit | 90c27b08c73858880756fdb7fb69520d3c4cc5b1 (patch) | |
tree | dea86b79e19db2f49993b516b7f2358ba84458b4 /simpleperf | |
parent | c67e0b07edfd87617282c68dd01a60e71a1adff9 (diff) | |
download | extras-90c27b08c73858880756fdb7fb69520d3c4cc5b1.tar.gz |
Add debug logging showing the llvm-objdump command
We are running to disassemble code.
This will help me repro it by running the command myself.
BUG=332769929
Change-Id: If5c833500d5da852623686bd5fdd35dd0f864001
Diffstat (limited to 'simpleperf')
-rw-r--r-- | simpleperf/scripts/simpleperf_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/simpleperf/scripts/simpleperf_utils.py b/simpleperf/scripts/simpleperf_utils.py index 90f94cf7..e536b1b5 100644 --- a/simpleperf/scripts/simpleperf_utils.py +++ b/simpleperf/scripts/simpleperf_utils.py @@ -844,6 +844,7 @@ class Objdump(object): real_path] if arch == 'arm' and 'llvm-objdump' in objdump_path: args += ['--print-imm-hex'] + logging.debug('disassembling: %s', ' '.join(args)) try: subproc = subprocess.Popen(args, stdout=subprocess.PIPE) (stdoutdata, _) = subproc.communicate() |