/system/core/libbacktrace/ |
D | backtrace_read_benchmarks.cpp | 39 static void Attach(pid_t pid) { in Attach() 59 ScopedPidReaper(pid_t pid) : pid_(pid) {} in ScopedPidReaper() 69 static size_t ProcessVmRead(pid_t pid, uint64_t remote_src, void* dst, size_t len) { in ProcessVmRead() 82 static bool PtraceReadLong(pid_t pid, uint64_t addr, long* value) { in PtraceReadLong() 93 static size_t PtraceRead(pid_t pid, uint64_t addr, void* dst, size_t bytes) { in PtraceRead() 117 static void CreateRemoteProcess(size_t size, void** map, pid_t* pid) { in CreateRemoteProcess() 141 pid_t pid; in BM_read_with_ptrace() local 159 pid_t pid; in BM_read_with_process_vm_read() local 177 pid_t pid; in BM_read_with_backtrace_object() local
|
D | UnwindStackMap.cpp | 32 UnwindStackMap::UnwindStackMap(pid_t pid) : BacktraceMap(pid) {} in UnwindStackMap() 124 UnwindStackOfflineMap::UnwindStackOfflineMap(pid_t pid) : UnwindStackMap(pid) {} in UnwindStackOfflineMap() 164 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create() 185 BacktraceMap* BacktraceMap::CreateOffline(pid_t pid, const std::vector<backtrace_map_t>& maps) { in CreateOffline()
|
D | UnwindMap.cpp | 36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap() 40 UnwindMapRemote::UnwindMapRemote(pid_t pid) : UnwindMap(pid) { in UnwindMapRemote()
|
D | UnwindStack.cpp | 147 UnwindStackCurrent::UnwindStackCurrent(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindStackCurrent() 172 UnwindStackPtrace::UnwindStackPtrace(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindStackPtrace() 194 UnwindStackOffline::UnwindStackOffline(ArchEnum arch, pid_t pid, pid_t tid, BacktraceMap* map, in UnwindStackOffline() 240 Backtrace* Backtrace::CreateOffline(ArchEnum arch, pid_t pid, pid_t tid, in CreateOffline() 251 Backtrace* Backtrace::CreateOffline(ArchEnum arch, pid_t pid, pid_t tid, BacktraceMap* map) { in CreateOffline()
|
D | ThreadEntry.cpp | 33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) in ThreadEntry() 49 ThreadEntry* ThreadEntry::Get(pid_t pid, pid_t tid, bool create) { in Get()
|
D | BacktraceMap.cpp | 42 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap() 150 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) {
|
D | Backtrace.cpp | 41 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace() 123 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
|
/system/core/libunwindstack/tests/ |
D | MemoryRemoteTest.cpp | 42 static bool Attach(pid_t pid) { in Attach() 50 static bool Detach(pid_t pid) { in Detach() 61 pid_t pid; in TEST_F() local 89 pid_t pid; in TEST_F() local 119 pid_t pid; in TEST_F() local 164 pid_t pid; in TEST_F() local 195 pid_t pid; in TEST_F() local 216 pid_t pid; in TEST_F() local 243 pid_t pid; in TEST_F() local 276 pid_t pid; in TEST_F() local [all …]
|
D | TestUtils.h | 29 TestScopedPidReaper(pid_t pid) : pid_(pid) {} in TestScopedPidReaper() 39 inline bool TestQuiescePid(pid_t pid) { in TestQuiescePid()
|
/system/core/libunwindstack/tools/ |
D | unwind.cpp | 37 static bool Attach(pid_t pid) { in Attach() 54 void DoUnwind(pid_t pid) { in DoUnwind() 116 pid_t pid = atoi(argv[1]); in main() local
|
D | unwind_for_offline.cpp | 52 static bool Attach(pid_t pid) { in Attach() 82 bool SaveStack(pid_t pid, const std::vector<std::pair<uint64_t, uint64_t>>& stacks) { in SaveStack() 189 int SaveData(pid_t pid) { in SaveData() 291 pid_t pid = atoi(argv[1]); in main() local
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 97 static std::string ConvertUidPidToPath(uid_t uid, int pid) { in ConvertUidPidToPath() 101 static int RemoveProcessGroup(uid_t uid, int pid) { in RemoveProcessGroup() 176 pid_t pid; in DoKillProcessGroupOnce() local 216 for (const auto pid : pids) { in DoKillProcessGroupOnce() local 324 static bool SetProcessGroupValue(uid_t uid, int pid, const std::string& file_name, int64_t value) { in SetProcessGroupValue() 339 bool setProcessGroupSwappiness(uid_t uid, int pid, int swappiness) { in setProcessGroupSwappiness() 343 bool setProcessGroupSoftLimit(uid_t uid, int pid, int64_t soft_limit_in_bytes) { in setProcessGroupSoftLimit() 347 bool setProcessGroupLimit(uid_t uid, int pid, int64_t limit_in_bytes) { in setProcessGroupLimit()
|
/system/netd/server/ |
D | ClatdController.cpp | 55 pid_t pid = getClatdPid(interface); in startClatd() local 120 pid_t pid = getClatdPid(interface); in stopClatd() local 140 pid_t pid = getClatdPid(interface); in isClatdStarted() local
|
/system/hwservicemanager/ |
D | HidlService.cpp | 17 pid_t pid) in HidlService() 27 void HidlService::setService(sp<IBase> service, pid_t pid) { in setService() 75 void HidlService::registerPassthroughClient(pid_t pid) { in registerPassthroughClient()
|
/system/extras/pssbench/ |
D | main.cpp | 15 get_pss(int pid) in get_pss() 80 int pid = atoi(argv[optind]); in main() local
|
/system/extras/iotop/ |
D | tasklist.cpp | 40 pid_t pid = atoi(entry->d_name); in ScanPidsInDir() local 62 return ScanPidsInDir(filename, [&pid_list](pid_t pid) { in ScanPid()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_servers.cpp | 53 pid_t pid; in run() local 66 static void killServer(pid_t pid, const char *serverName) { in killServer()
|
/system/extras/simpleperf/ |
D | CallChainJoiner.cpp | 177 static bool WriteCallChain(FILE* fp, pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in WriteCallChain() 206 static bool ReadCallChain(FILE* fp, pid_t& pid, pid_t& tid, CallChainJoiner::ChainType& type, in ReadCallChain() 232 static bool ReadCallChainInReverseOrder(FILE* fp, pid_t& pid, pid_t& tid, in ReadCallChainInReverseOrder() 290 bool CallChainJoiner::AddCallChain(pid_t pid, pid_t tid, ChainType type, in AddCallChain() 340 pid_t pid; in JoinCallChains() local 384 bool CallChainJoiner::GetNextCallChain(pid_t& pid, pid_t& tid, ChainType& type, in GetNextCallChain()
|
D | CallChainJoiner_test.cpp | 170 for (pid_t pid = 0; pid < 10; ++pid) { in TEST_F() local 179 pid_t pid; in TEST_F() local 240 pid_t pid; in TEST_F() local 258 pid_t pid; in TEST_F() local
|
/system/vold/ |
D | Process.cpp | 87 pid_t pid; in KillProcessesWithOpenFiles() local 116 for (const auto& pid : pids) { in KillProcessesWithOpenFiles() local
|
/system/core/libmemtrack/ |
D | memtrack_test.c | 28 static int getprocname(pid_t pid, char *buf, int len) { in getprocname() 105 pid_t pid = pids[i]; in main() local
|
/system/core/logd/ |
D | LogBufferInterface.cpp | 24 uid_t LogBufferInterface::pidToUid(pid_t pid) { in pidToUid()
|
/system/extras/tests/cpueater/ |
D | cpueater.c | 30 pid_t pid; in main() local
|
/system/core/libunwindstack/include/unwindstack/ |
D | Memory.h | 103 MemoryRemote(pid_t pid) : pid_(pid), read_redirect_func_(0) {} in MemoryRemote() 108 pid_t pid() { return pid_; } in pid() function
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 27 def __init__(self, tid, pid): argument 53 def __init__(self, name, pid): argument 66 def get_thread(self, tid, pid): argument
|