Home
last modified time | relevance | path

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

123456789

/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.cpp33 UnwindStackMap::UnwindStackMap(pid_t pid) : BacktraceMap(pid) {} in UnwindStackMap()
135 UnwindStackOfflineMap::UnwindStackOfflineMap(pid_t pid) : UnwindStackMap(pid) {} in UnwindStackOfflineMap()
175 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create()
196 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()
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()
DUnwindStack.cpp148 UnwindStackCurrent::UnwindStackCurrent(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindStackCurrent()
173 UnwindStackPtrace::UnwindStackPtrace(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindStackPtrace()
195 UnwindStackOffline::UnwindStackOffline(ArchEnum arch, pid_t pid, pid_t tid, BacktraceMap* map, in UnwindStackOffline()
241 Backtrace* Backtrace::CreateOffline(ArchEnum arch, pid_t pid, pid_t tid, in CreateOffline()
252 Backtrace* Backtrace::CreateOffline(ArchEnum arch, pid_t pid, pid_t tid, BacktraceMap* map) { in CreateOffline()
DBacktraceMap.cpp43 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap()
140 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) { in Create()
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/tools/
Dunwind.cpp37 static bool Attach(pid_t pid) { in Attach()
59 void DoUnwind(pid_t pid) { in DoUnwind()
113 pid_t pid = atoi(argv[1]); in main() local
/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()
DUnwindTest.cpp129 static void VerifyUnwind(pid_t pid, Maps* maps, Regs* regs, in VerifyUnwind()
216 void WaitForRemote(pid_t pid, uint64_t addr, bool leave_attached, bool* completed) { in WaitForRemote()
246 pid_t pid; in TEST_F() local
270 pid_t pid; in TEST_F() local
298 pid_t pid; in RemoteCheckForLeaks() local
317 pid_t* pid = reinterpret_cast<pid_t*>(data); in RemoteUnwind() local
332 pid_t* pid = reinterpret_cast<pid_t*>(data); in RemoteUnwindFromPid() local
394 pid_t pid; in RemoteThroughSignal() local
/system/core/libmemtrack/
Dmemtrack_test.cpp32 static void getprocname(pid_t pid, std::string* name) { in getprocname()
56 pid_t pid; in main() local
63 for (auto& pid : pids) { 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/extras/pssbench/
Dmain.cpp15 get_pss(int pid) in get_pss()
80 int pid = atoi(argv[optind]); in main() local
/system/core/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp46 static bool ReadDmaBufFdInfo(pid_t pid, int fd, std::string* name, std::string* exporter, in ReadDmaBufFdInfo()
99 static bool ReadDmaBufFdRefs(pid_t pid, std::vector<DmaBuffer>* dmabufs) { in ReadDmaBufFdRefs()
167 static bool ReadDmaBufMapRefs(pid_t pid, std::vector<DmaBuffer>* dmabufs) { in ReadDmaBufMapRefs()
246 bool ReadDmaBufInfo(pid_t pid, std::vector<DmaBuffer>* dmabufs) { in ReadDmaBufInfo()
251 bool AppendDmaBufInfo(pid_t pid, std::vector<DmaBuffer>* dmabufs) { in AppendDmaBufInfo()
Ddmabufinfo_test.cpp64 pid_t pid() const { return child_pid; } in pid() function in fd_sharer
255 void readAndCheckDmaBuffer(std::vector<DmaBuffer>* dmabufs, pid_t pid, const std::string name, in readAndCheckDmaBuffer()
268 bool checkPidRef(DmaBuffer& dmabuf, pid_t pid, int expectFdrefs) { in checkPidRef()
317 pid_t pid = getpid(); in TEST_F() local
341 pid_t pid = getpid(); in TEST_F() local
383 pid_t pid = getpid(); in TEST_F() local
426 pid_t pid = getpid(); in TEST_F() local
456 pid_t pid = getpid(); in TEST_F() local
/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/core/libprocessgroup/
Dprocessgroup.cpp114 bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector<std::string>& profiles, in SetProcessProfiles()
159 static std::string ConvertUidPidToPath(const char* cgroup, uid_t uid, int pid) { in ConvertUidPidToPath()
163 static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid) { in RemoveProcessGroup()
280 pid_t pid; in DoKillProcessGroupOnce() local
320 for (const auto pid : pids) { in DoKillProcessGroupOnce() local
451 bool setProcessGroupSwappiness(uid_t, int pid, int swappiness) { in setProcessGroupSwappiness()
455 bool setProcessGroupSoftLimit(uid_t, int pid, int64_t soft_limit_in_bytes) { in setProcessGroupSoftLimit()
459 bool setProcessGroupLimit(uid_t, int pid, int64_t limit_in_bytes) { in setProcessGroupLimit()
/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()
/system/vold/
DProcess.cpp96 pid_t pid; in KillProcessesWithOpenFiles() local
125 for (const auto& pid : pids) { in KillProcessesWithOpenFiles() local
/system/core/debuggerd/
Dutil.cpp30 std::string get_process_name(pid_t pid) { in get_process_name()
/system/extras/tests/cpueater/
Dcpueater.c30 pid_t pid; in main() local
/system/core/logd/
DLogBufferInterface.cpp24 uid_t LogBufferInterface::pidToUid(pid_t pid) { in pidToUid()
/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
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp44 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { in dump_process_header()
58 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer()

123456789