Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 197) sorted by relevance

12345678

/system/core/libbacktrace/
Dbacktrace_read_benchmarks.cpp39 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
DUnwindStackMap.cpp32 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()
DUnwindMap.cpp36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap()
40 UnwindMapRemote::UnwindMapRemote(pid_t pid) : UnwindMap(pid) { in UnwindMapRemote()
DUnwindStack.cpp147 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()
DThreadEntry.cpp33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) in ThreadEntry()
49 ThreadEntry* ThreadEntry::Get(pid_t pid, pid_t tid, bool create) { in Get()
DBacktraceMap.cpp42 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap()
150 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) {
DBacktrace.cpp41 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/
DMemoryRemoteTest.cpp42 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 …]
DTestUtils.h29 TestScopedPidReaper(pid_t pid) : pid_(pid) {} in TestScopedPidReaper()
39 inline bool TestQuiescePid(pid_t pid) { in TestQuiescePid()
/system/core/libunwindstack/tools/
Dunwind.cpp37 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
Dunwind_for_offline.cpp52 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/
Dprocessgroup.cpp97 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/
DClatdController.cpp55 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/
DHidlService.cpp17 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/
Dmain.cpp15 get_pss(int pid) in get_pss()
80 int pid = atoi(argv[optind]); in main() local
/system/extras/iotop/
Dtasklist.cpp40 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/
Dhidl_test_servers.cpp53 pid_t pid; in run() local
66 static void killServer(pid_t pid, const char *serverName) { in killServer()
/system/extras/simpleperf/
DCallChainJoiner.cpp177 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()
DCallChainJoiner_test.cpp170 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/
DProcess.cpp87 pid_t pid; in KillProcessesWithOpenFiles() local
116 for (const auto& pid : pids) { in KillProcessesWithOpenFiles() local
/system/core/libmemtrack/
Dmemtrack_test.c28 static int getprocname(pid_t pid, char *buf, int len) { in getprocname()
105 pid_t pid = pids[i]; in main() local
/system/core/logd/
DLogBufferInterface.cpp24 uid_t LogBufferInterface::pidToUid(pid_t pid) { in pidToUid()
/system/extras/tests/cpueater/
Dcpueater.c30 pid_t pid; in main() local
/system/core/libunwindstack/include/unwindstack/
DMemory.h103 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/
Ddata_types.py27 def __init__(self, tid, pid): argument
53 def __init__(self, name, pid): argument
66 def get_thread(self, tid, pid): argument

12345678