Home
last modified time | relevance | path

Searched refs:ProcessInfo (Results 1 – 10 of 10) sorted by relevance

/system/extras/memtrack/
Dmemtrack.cpp112 const char *ProcessInfo::kProc = "/proc/";
113 const char *ProcessInfo::kCmdline = "/cmdline";
114 const char *ProcessInfo::kSmaps = "/smaps";
116 ProcessInfo::ProcessInfo() { in ProcessInfo() function in ProcessInfo
120 ProcessInfo::~ProcessInfo() { in ~ProcessInfo()
123 bool ProcessInfo::getInformation(int pid, char *pid_str, size_t pid_str_len) { in getInformation()
159 void ProcessInfo::scan() { in scan()
234 void ProcessInfo::dumpToLog() { in dumpToLog()
332 ProcessInfo proc_info; in main()
Dmemtrack.h74 class ProcessInfo {
76 ProcessInfo();
77 ~ProcessInfo();
/system/extras/simpleperf/
Dcmd_trace_sched.cpp63 struct ProcessInfo { struct
105 std::vector<ProcessInfo> BuildProcessInfo();
106 void ReportProcessInfo(const std::vector<ProcessInfo>& processes);
133 std::vector<ProcessInfo> processes = BuildProcessInfo(); in Run()
297 std::vector<ProcessInfo> TraceSchedCommand::BuildProcessInfo() { in BuildProcessInfo()
298 std::unordered_map<pid_t, ProcessInfo> process_map; in BuildProcessInfo()
305 ProcessInfo& process = process_map[thread.process_id]; in BuildProcessInfo()
313 std::vector<ProcessInfo> processes; in BuildProcessInfo()
317 auto sort_process = [](const ProcessInfo& p1, const ProcessInfo& p2) { in BuildProcessInfo()
330 void TraceSchedCommand::ReportProcessInfo(const std::vector<ProcessInfo>& processes) { in ReportProcessInfo()
Denvironment.cpp218 android::procinfo::ProcessInfo procinfo; in ReadThreadNameAndPid()
/system/core/libprocinfo/include/procinfo/
Dprocess.h47 struct ProcessInfo { struct
59 bool GetProcessInfo(pid_t tid, ProcessInfo* process_info, std::string* error = nullptr); argument
63 bool GetProcessInfoFromProcPidFd(int fd, ProcessInfo* process_info, std::string* error = nullptr);
/system/core/libprocinfo/
Dprocess_test.cpp43 android::procinfo::ProcessInfo self; in TEST()
53 android::procinfo::ProcessInfo self; in TEST()
105 android::procinfo::ProcessInfo procinfo; in TEST()
Dprocess.cpp34 bool GetProcessInfo(pid_t tid, ProcessInfo* process_info, std::string* error) { in GetProcessInfo()
67 bool GetProcessInfoFromProcPidFd(int fd, ProcessInfo* process_info, std::string* error) { in GetProcessInfoFromProcPidFd()
/system/core/debuggerd/
Ddebuggerd.cpp87 android::procinfo::ProcessInfo proc_info; in main()
Dcrash_dump.cpp79 android::procinfo::ProcessInfo process_info; in get_tracer()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp73 android::procinfo::ProcessInfo procinfo; in debuggerd_trigger_dump()