OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ead49
)
Log PPID when running dex2oat
author
Wojciech Staszkiewicz
<staszkiewicz@google.com>
Tue, 13 Sep 2016 19:06:36 +0000
(12:06 -0700)
committer
Wojciech Staszkiewicz
<staszkiewicz@google.com>
Wed, 14 Sep 2016 23:34:37 +0000
(16:34 -0700)
Log parent's pid in dex2oat. Logging happens only in verbose
compiler mode.
This can be used to find out which process executed a dex2oat
instance.
Test: m test-art-host
Change-Id: I49a139ed39a2454649f21275d6be860cbab96f55
dex2oat/dex2oat.cc
patch
|
blob
|
history
diff --git
a/dex2oat/dex2oat.cc
b/dex2oat/dex2oat.cc
index
1dd9132
..
1296bcf
100644
(file)
--- a/
dex2oat/dex2oat.cc
+++ b/
dex2oat/dex2oat.cc
@@
-2782,6
+2782,8
@@
static int dex2oat(int argc, char** argv) {
return EXIT_FAILURE;
}
+ VLOG(compiler) << "Running dex2oat (parent PID = " << getppid() << ")";
+
bool result;
if (dex2oat->IsImage()) {
result = CompileImage(*dex2oat);