diff options
| author | 2019-09-26 15:51:48 +0000 | |
|---|---|---|
| committer | 2019-09-26 15:51:48 +0000 | |
| commit | ca5868f8824e4fdd38f19a4e97eb46a14636e93f (patch) | |
| tree | e727c009ff0a48408cdbe141af7fcdf10fa0ce25 /cmds/dumpstate/dumpstate.cpp | |
| parent | ac5b759433eb5f8667e9c5330233b95bb30855fc (diff) | |
| parent | f5ea44ccc038d29eb953ce504e490528f7d46a30 (diff) | |
Merge changes I1893a45e,I29bf9acf
* changes:
Dumpsys also includes service PIDs.
libbinder: add getDebugPid
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 254e14203e..024a8fd775 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1057,7 +1057,7 @@ static Dumpstate::RunStatus RunDumpsysTextByPriority(const std::string& title, i std::string path(title); path.append(" - ").append(String8(service).c_str()); size_t bytes_written = 0; - status_t status = dumpsys.startDumpThread(service, args); + status_t status = dumpsys.startDumpThread(service, /* dumpPid = */ true, args); if (status == OK) { dumpsys.writeDumpHeader(STDOUT_FILENO, service, priority); std::chrono::duration<double> elapsed_seconds; @@ -1129,7 +1129,7 @@ static Dumpstate::RunStatus RunDumpsysProto(const std::string& title, int priori path.append("_HIGH"); } path.append(kProtoExt); - status_t status = dumpsys.startDumpThread(service, args); + status_t status = dumpsys.startDumpThread(service, /* dumpPid = */ false, args); if (status == OK) { status = ds.AddZipEntryFromFd(path, dumpsys.getDumpFd(), service_timeout); bool dumpTerminated = (status == OK); |