/developtools/hiperf/test/unittest/common/native/ |
D | cpu_usage_test.cpp | 57 pid_t pid = -1; in GetPidByProcessName() local 68 int CpuUsageTest::GetVmRSSLine(pid_t pid) in GetVmRSSLine() 135 unsigned long CpuUsageTest::GetCpuProcUsage(int pid) in GetCpuProcUsage() 165 float CpuUsageTest::GetCpuUsageRatio(int pid) in GetCpuUsageRatio() 193 float CpuUsageTest::GetAverageCpuUsage(pid_t pid, uint64_t timeOut) in GetAverageCpuUsage() 221 pid_t pid = GetPidByProcessName("hiperf"); variable 237 pid_t pid = GetPidByProcessName("hiperf"); variable 253 pid_t pid = GetPidByProcessName("hiperf"); variable 269 pid_t pid = GetPidByProcessName("hiperf"); variable 285 pid_t pid = GetPidByProcessName("hiperf"); variable [all …]
|
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/ |
D | sched.proto | 22 int32 pid = 1; field 30 int32 pid = 2; field 41 int32 pid = 2; field 49 int32 pid = 1; field 61 int32 pid = 2; field 69 int32 pid = 2; field 76 int32 pid = 2; field 91 int32 pid = 2; field 98 int32 pid = 2; field 105 int32 pid = 2; field [all …]
|
D | task.proto | 23 int32 pid = 1; field 31 int32 pid = 1; field
|
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/ |
D | sched.proto | 23 int32 pid = 1; field 31 int32 pid = 2; field 42 int32 pid = 2; field 50 int32 pid = 1; field 62 int32 pid = 2; field 70 int32 pid = 2; field 77 int32 pid = 2; field 92 int32 pid = 2; field 99 int32 pid = 2; field 106 int32 pid = 2; field [all …]
|
D | task.proto | 23 int32 pid = 1; field 31 int32 pid = 1; field
|
/developtools/profiler/protos/types/plugins/ftrace_data/default/ |
D | sched.proto | 23 int32 pid = 1; field 31 int32 pid = 2; field 42 int32 pid = 2; field 50 int32 pid = 1; field 62 int32 pid = 2; field 70 int32 pid = 2; field 77 int32 pid = 2; field 92 int32 pid = 2; field 99 int32 pid = 2; field 106 int32 pid = 2; field [all …]
|
D | task.proto | 23 int32 pid = 1; field 31 int32 pid = 1; field
|
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/native_hook/ |
D | native_hook_result.proto | 31 int32 pid = 1; field 41 int32 pid = 1; field 50 int32 pid = 1; field 61 int32 pid = 1; field 74 int32 pid = 4; field 80 int32 pid = 3; field 87 int32 pid = 4; field 93 int32 pid = 3; field 99 int32 pid = 3; field 105 int32 pid = 3; field [all …]
|
/developtools/profiler/protos/types/plugins/native_hook/ |
D | native_hook_result.proto | 31 int32 pid = 1; field 41 int32 pid = 1; field 50 int32 pid = 1; field 61 int32 pid = 1; field 76 int32 pid = 4; field 82 int32 pid = 3; field 89 int32 pid = 4; field 95 int32 pid = 3; field 101 int32 pid = 3; field 107 int32 pid = 3; field [all …]
|
/developtools/smartperf_host/ide/src/trace/bean/ |
D | BinderProcessThread.ts | 23 pid: number; property 31 pid: number = 0; property in CycleBinderItem 48 pid: number; property 56 pid: number; property 73 pid: number; property 84 pid: number = 0; property in FuncNameCycle 101 pid: number; property
|
/developtools/profiler/device/plugins/process_plugin/src/ |
D | process_data_plugin.cpp | 123 int32_t pid = atoi(dirEnt->d_name); in GetValidPid() local 131 int32_t ProcessDataPlugin::ReadProcPidFile(int32_t pid, const char* pFileName) in ReadProcPidFile() 183 bool ProcessDataPlugin::addPidBySort(int32_t pid) in addPidBySort() 195 …d ProcessDataPlugin::WriteProcess(T& processinfo, const char* pFile, uint32_t fileLen, int32_t pid) in WriteProcess() 261 template <typename T> void ProcessDataPlugin::WriteProcessInfo(T& processData, int32_t pid) in WriteProcessInfo() 297 while (int32_t pid = GetValidPid(procDir)) { in WriteProcesseList() local 314 template <typename T> bool ProcessDataPlugin::WriteThreadData(int pid, T& cpuInfo) in WriteThreadData() 354 template <typename T> bool ProcessDataPlugin::WriteCpuUsageData(int pid, T& cpuInfo) in WriteCpuUsageData() 387 bool ProcessDataPlugin::ReadBootTime(int pid, uint64_t& bootTime) in ReadBootTime() 435 bool ProcessDataPlugin::ReadCpuUsage(int pid, uint64_t& cpuTime) in ReadCpuUsage() [all …]
|
/developtools/smartperf_host/trace_streamer/src/filter/ |
D | binder_filter.cpp | 108 void BinderFilter::ReceiveTraction(int64_t ts, uint32_t pid, uint64_t transactionId) in ReceiveTraction() 156 void BinderFilter::TransactionAllocBuf(int64_t ts, uint32_t pid, uint64_t dataSize, uint64_t offset… in TransactionAllocBuf() 164 void BinderFilter::TractionLock(int64_t ts, uint32_t pid, const std::string &tag) in TractionLock() 170 void BinderFilter::TractionLocked(int64_t ts, uint32_t pid, const std::string &tag) in TractionLocked() 182 void BinderFilter::TractionUnlock(int64_t ts, uint32_t pid, const std::string &tag) in TractionUnlock()
|
D | process_filter.cpp | 68 uint32_t ProcessFilter::UpdateOrCreateThreadWithPidAndName(uint32_t tid, uint32_t pid, std::string_… in UpdateOrCreateThreadWithPidAndName() 81 uint32_t ProcessFilter::GetOrCreateThreadWithPid(uint32_t tid, uint32_t pid) in GetOrCreateThreadWithPid() 103 uint32_t ProcessFilter::UpdateOrCreateProcessWithName(uint32_t pid, std::string_view name) in UpdateOrCreateProcessWithName() 215 InternalPid ProcessFilter::GetOrCreateInternalPid(uint64_t timeStamp, uint32_t pid) in GetOrCreateInternalPid() 236 std::tuple<uint32_t, TraceStdtype::Process *> ProcessFilter::NewProcess(uint32_t pid) in NewProcess() 245 std::tuple<uint32_t, TraceStdtype::Process *> ProcessFilter::CreateProcessMaybe(uint32_t pid, uint6… in CreateProcessMaybe()
|
/developtools/profiler/hiebpf/include/ |
D | maps_info.h | 39 bool IsCached(uint32_t pid) in IsCached() 44 void CachePid(uint32_t pid) in CachePid() 49 void RemovePid(uint32_t pid) in RemovePid()
|
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/ |
D | pbreader_mem_parser_test.cpp | 58 std::string SetProcessesinfo(MemoryData &tracePacket, uint32_t pid, std::string name) in SetProcessesinfo() 128 const uint32_t pid = 12; variable 174 const uint32_t pid = 12; variable 283 int32_t pid = 6; variable 332 int32_t pid = 7; variable 441 uint64_t pid; member 495 uint64_t pid; member
|
/developtools/profiler/device/plugins/memory_plugin/src/ |
D | memory_data_plugin.cpp | 195 int32_t pid = protoConfig_.pid(i); in Start() local 312 template <typename T> bool MemoryDataPlugin::GetMemInfoByMemoryService(uint32_t pid, T& processMemo… in GetMemInfoByMemoryService() 345 int32_t pid = protoConfig_.pid(i); in WriteMemoryData() local 431 …mplate <typename T> void MemoryDataPlugin::WriteProcinfoByPidfds(T& processMemoryInfo, int32_t pid) in WriteProcinfoByPidfds() 496 std::vector<int> MemoryDataPlugin::OpenProcPidFiles(int32_t pid) in OpenProcPidFiles() 549 int32_t pid = atoi(dirEnt->d_name); in GetValidPid() local 557 int32_t MemoryDataPlugin::ReadProcPidFile(int32_t pid, const char* pFileName) in ReadProcPidFile() 616 bool MemoryDataPlugin::addPidBySort(int32_t pid) in addPidBySort() 702 …oryDataPlugin::WriteProcess(T& processMemoryInfo, const char* pFile, uint32_t fileLen, int32_t pid) in WriteProcess() 730 template <typename T> void MemoryDataPlugin::WriteOomInfo(T& processMemoryInfo, int32_t pid) in WriteOomInfo() [all …]
|
/developtools/hiperf/src/ |
D | virtual_runtime.cpp | 100 VirtualThread &VirtualRuntime::UpdateThread(pid_t pid, pid_t tid, const std::string name) in UpdateThread() 115 VirtualThread &VirtualRuntime::CreateThread(pid_t pid, pid_t tid, const std::string name) in CreateThread() 210 VirtualThread &VirtualRuntime::GetThread(pid_t pid, pid_t tid, const std::string name) in GetThread() 227 std::shared_ptr<DfxMap> VirtualRuntime::UpdateThreadMaps(pid_t pid, pid_t tid, const std::string fi… in UpdateThreadMaps() 368 u32 pid = recordSample->data_.pid; in DedupFromRecord() local 404 u32 pid; in CollectDedupSymbol() local 487 pid_t pid = static_cast<pid_t>(recordSample.data_.pid); in SymbolicCallFrame() local 588 pid_t pid = static_cast<pid_t>(recordSample.data_.pid); in UnwindFromRecord() local 642 pid_t pid = static_cast<pid_t>(recordSample.data_.server_pids[i]); in UpdateFromRecord() local 801 void VirtualRuntime::UpdateSymbols(std::shared_ptr<DfxMap> map, pid_t pid) in UpdateSymbols() [all …]
|
D | tracked_command.cpp | 81 pid_t pid = fork(); in CreateChildProcess() local 178 pid_t pid = waitpid(childPid_, &wstatus, WNOHANG); in WaitCommand() local 195 pid_t pid = waitpid(childPid_, &wstatus, WNOHANG); in MakeInvalid() local
|
/developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
D | process_filter_test.cpp | 95 uint32_t pid = 8629; variable 127 uint32_t pid = 8629; variable 288 uint32_t pid = 123; variable 307 uint32_t pid = 123; variable 324 uint32_t pid = 123; variable 375 uint32_t pid = 869; variable
|
D | task_pool_filter_test.cpp | 123 uint32_t pid = 16502; variable 163 uint32_t pid = 16502; variable 201 uint32_t pid = 16502; variable 245 uint32_t pid = 8821; variable 285 uint32_t pid = 8821; variable 323 uint32_t pid = 8821; variable
|
/developtools/smartperf_host/trace_streamer/src/parser/ |
D | print_event_parser.cpp | 43 uint32_t pid, in ParsePrintEvent() 87 uint32_t pid, in ParseBeginEvent() 113 void PrintEventParser::ParseEndEvent(uint64_t ts, uint32_t pid, const TracePoint &point) in ParseEndEvent() 125 uint32_t pid, in ParseStartEvent() 139 void PrintEventParser::ParseFinishEvent(uint64_t ts, uint32_t pid, const TracePoint &point, const B… in ParseFinishEvent() 349 bool PrintEventParser::OnFrameQueueStart(uint64_t ts, size_t callStackRow, uint64_t pid) in OnFrameQueueStart() 358 void PrintEventParser::HandleFrameSliceEndEvent(uint64_t ts, uint64_t pid, uint64_t tid, size_t cal… in HandleFrameSliceEndEvent() 372 void PrintEventParser::HandleFrameQueueEndEvent(uint64_t ts, uint64_t pid, uint64_t tid, size_t cal… in HandleFrameQueueEndEvent()
|
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_base.cpp | 45 void EbpfBase::ParseCallStackData(const uint64_t *userIpsAddr, uint16_t count, uint32_t pid, uint32… in ParseCallStackData() 73 EbpfSymbolInfo EbpfBase::GetEbpfSymbolInfo(uint32_t pid, uint64_t ip) in GetEbpfSymbolInfo() 117 void EbpfBase::UpdateFilePathIndexToPidAndIpMap(DataIndex filePathIndex, uint32_t pid, uint64_t ip) in UpdateFilePathIndexToPidAndIpMap() 132 uint32_t pid, in GetSymbolSave() 175 EbpfSymbolInfo EbpfBase::GetSymbolNameIndexFromElfSym(uint32_t pid, uint64_t ip) in GetSymbolNameIndexFromElfSym()
|
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
D | native_memory_profiler_sa_client_manager.cpp | 41 int32_t NativeMemoryProfilerSaClientManager::Start(NativeMemProfilerType type, uint32_t pid, uint32… in Start() 61 int32_t NativeMemoryProfilerSaClientManager::Stop(uint32_t pid) in Stop() 122 int32_t NativeMemoryProfilerSaClientManager::GetMallocStats(int fd, int pid, int type) in GetMallocStats()
|
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/memory_data/ |
D | memory_plugin_result.proto | 64 int32 pid = 1; field 89 int32 pid = 2; field 103 int32 pid = 2; field 114 int32 pid = 2; field 146 int32 pid = 3; field 158 int32 pid = 2; field
|
/developtools/profiler/protos/types/plugins/memory_data/ |
D | memory_plugin_result.proto | 64 int32 pid = 1; field 89 int32 pid = 2; field 103 int32 pid = 2; field 120 int32 pid = 2; field 150 int32 pid = 3; field 162 int32 pid = 2; field
|