Home
last modified time | relevance | path

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

12345678910

/developtools/hiperf/test/unittest/common/native/
Dcpu_usage_test.cpp57 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/profiler/protos/types/plugins/ftrace_data/default/
Dsched.proto23 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 …]
Dtask.proto23 int32 pid = 1; field
31 int32 pid = 1; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dsched.proto23 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 …]
Dtask.proto23 int32 pid = 1; field
31 int32 pid = 1; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dsched.proto22 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 …]
Dtask.proto23 int32 pid = 1; field
31 int32 pid = 1; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/native_hook/
Dnative_hook_result.proto31 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/
Dnative_hook_result.proto31 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/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp123 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/
Dbinder_filter.cpp108 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()
Dprocess_filter.cpp68 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, uint64… in CreateProcessMaybe()
Dslice_filter.cpp41 uint32_t pid, in BeginSlice()
180 size_t SliceFilter::AsyncBinder(uint64_t timeStamp, uint32_t pid, DataIndex cat, DataIndex nameInde… in AsyncBinder()
294 uint32_t pid, in StartSlice()
341 size_t SliceFilter::BeginBinder(uint64_t timeStamp, uint32_t pid, DataIndex cat, DataIndex nameInde… in BeginBinder()
349 uint32_t pid, in CompleteSlice()
409 size_t SliceFilter::EndBinder(uint64_t timeStamp, uint32_t pid, DataIndex category, DataIndex name,… in EndBinder()
435 uint32_t pid, in StartAsyncSlice()
463 uint32_t pid, in FinishAsyncSlice()
492 …SliceFilter::EndSlice(uint64_t timeStamp, uint32_t pid, uint32_t threadGroupId, DataIndex category… in EndSlice()
/developtools/profiler/hiebpf/include/
Dmaps_info.h39 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/htrace/
Dhtrace_mem_parser_test.cpp58 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
437 uint64_t pid; member
492 uint64_t pid; member
/developtools/smartperf_host/trace_streamer/src/rpc/
Dffrt_converter.cpp95 const int pid, in MakeBeginFakeLog()
116 const int pid, in MakeEndFakeLog()
140 const int pid, in ReplaceSchedSwitchLog()
181 const int pid, in ReplaceSchedWakeLog()
198 std::string FfrtConverter::ReplaceSchedBlockLog(std::string& fakeLog, const int pid, const long lon… in ReplaceSchedBlockLog()
210 const int pid, in ReplaceTracingMarkLog()
224 const int pid, in ConvertWorkerLogToTask()
257 auto pid = ExtractProcessId(log); in ClassifySchedSwitchLogs() local
323 std::string FfrtConverter::GetTaskId(int pid, long long gid) in GetTaskId()
422 const int pid, in getNewMissLog()
[all …]
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp195 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/smartperf_host/trace_streamer/test/unittest/filter/
Dprocess_filter_test.cpp95 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
/developtools/hiperf/src/
Dvirtual_runtime.cpp100 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()
207 VirtualThread &VirtualRuntime::GetThread(pid_t pid, pid_t tid, const std::string name) in GetThread()
224 void VirtualRuntime::UpdateThreadMaps(pid_t pid, pid_t tid, const std::string filename, in UpdateThreadMaps()
359 u32 pid = recordSample->data_.pid; in DedupFromRecord() local
394 u32 pid; in CollectDedupSymbol() local
467 pid_t pid = static_cast<pid_t>(recordSample.data_.pid); in SymbolicCallFrame() local
566 pid_t pid = static_cast<pid_t>(recordSample.data_.pid); in UnwindFromRecord() local
620 pid_t pid = static_cast<pid_t>(recordSample.data_.server_pids[i]); in UpdateFromRecord() local
987 DfxSymbol VirtualRuntime::GetSymbol(uint64_t ip, pid_t pid, pid_t tid, const perf_callchain_context… in GetSymbol()
[all …]
Dtracked_command.cpp81 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/src/parser/ebpf_parser/
Debpf_base.cpp45 void EbpfBase::ParseCallStackData(const uint64_t* userIpsAddr, uint16_t count, uint32_t pid, uint32… in ParseCallStackData()
71 EbpfSymbolInfo EbpfBase::GetEbpfSymbolInfo(uint32_t pid, uint64_t ip) in GetEbpfSymbolInfo()
115 void EbpfBase::UpdateFilePathIndexToPidAndIpMap(DataIndex filePathIndex, uint32_t pid, uint64_t ip) in UpdateFilePathIndexToPidAndIpMap()
130 uint32_t pid, in GetSymbolSave()
173 EbpfSymbolInfo EbpfBase::GetSymbolNameIndexFromElfSym(uint32_t pid, uint64_t ip) in GetSymbolNameIndexFromElfSym()
/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_runtime.cpp70 VirtualThread &VirtualRuntime::UpdateThread(pid_t pid, pid_t tid, const std::string name) in UpdateThread()
85 VirtualThread &VirtualRuntime::CreateThread(pid_t pid, pid_t tid) in CreateThread()
94 VirtualThread &VirtualRuntime::GetThread(pid_t pid, pid_t tid) in GetThread()
125 bool VirtualRuntime::GetSymbolName(pid_t pid, pid_t tid, std::vector<CallFrame>& callFrames, int of… in GetSymbolName()
181 void VirtualRuntime::UpdateMaps(pid_t pid, pid_t tid) in UpdateMaps()
194 pid_t pid, in UnwindStack()
418 const DfxSymbol VirtualRuntime::GetSymbol(CallFrame& callFrame, pid_t pid, pid_t tid, in GetSymbol()
/developtools/smartperf_host/trace_streamer/src/parser/
Dprint_event_parser.cpp42 uint32_t pid, in ParsePrintEvent()
86 uint32_t pid, in ParseBeginEvent()
112 void PrintEventParser::ParseEndEvent(uint64_t ts, uint32_t pid, const TracePoint& point) in ParseEndEvent()
124 uint32_t pid, in ParseStartEvent()
138 void PrintEventParser::ParseFinishEvent(uint64_t ts, uint32_t pid, const TracePoint& point, const B… in ParseFinishEvent()
351 bool PrintEventParser::OnFrameQueueStart(uint64_t ts, size_t callStackRow, uint64_t pid) in OnFrameQueueStart()
360 void PrintEventParser::HandleFrameSliceEndEvent(uint64_t ts, uint64_t pid, uint64_t tid, size_t cal… in HandleFrameSliceEndEvent()
374 void PrintEventParser::HandleFrameQueueEndEvent(uint64_t ts, uint64_t pid, uint64_t tid, size_t cal… in HandleFrameQueueEndEvent()
/developtools/profiler/protos/types/plugins/memory_data/
Dmemory_plugin_result.proto64 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
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/memory_data/
Dmemory_plugin_result.proto64 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

12345678910