Home
last modified time | relevance | path

Searched refs:proc_info (Results 1 – 4 of 4) sorted by relevance

/system/core/debuggerd/
Ddebuggerd.cpp87 android::procinfo::ProcessInfo proc_info; in main() local
88 if (!android::procinfo::GetProcessInfo(pid, &proc_info)) { in main()
92 if (proc_info.state == android::procinfo::kProcessStateZombie) { in main()
102 if (kill(proc_info.pid, 0) != 0) { in main()
103 if (pid == proc_info.pid) { in main()
106 err(1, "cannot send signal to main thread %d (requested thread %d)", proc_info.pid, pid); in main()
116 if (!debuggerd_trigger_dump(proc_info.pid, dump_type, 0, std::move(pipewrite))) { in main()
118 if (pid == proc_info.pid) { in main()
121 errx(1, "failed to dump main thread %d (requested thread %d)", proc_info.pid, pid); in main()
/system/unwinding/libunwindstack/utils/tests/
DProcessTracerTest.cpp155 android::procinfo::ProcessInfo proc_info; in VerifyState() local
156 ASSERT_TRUE(GetProcessInfo(tid, &proc_info)); in VerifyState()
158 if (proc_info.state == android::procinfo::kProcessStateRunning || in VerifyState()
159 proc_info.state == android::procinfo::kProcessStateSleeping) { in VerifyState()
162 } else if (proc_info.state == android::procinfo::kProcessStateStopped) { in VerifyState()
/system/extras/memtrack/
Dmemtrack.cpp332 ProcessInfo proc_info; in main() local
349 proc_info.scan(); in main()
358 proc_info.dumpToLog(); in main()
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto.cpp639 android::procinfo::ProcessInfo proc_info; in engrave_tombstone_proto() local
641 if (android::procinfo::GetProcessInfo(main_thread.pid, &proc_info, &error)) { in engrave_tombstone_proto()
642 uint64_t starttime = proc_info.starttime / sysconf(_SC_CLK_TCK); in engrave_tombstone_proto()