/base/startup/appspawn/ |
D | appspawn.cfg | 15 "mkdir /dev/pids", 16 "mount cgroup none /dev/pids pids", 17 "chown root appspawn /dev/pids", 18 "chown root appspawn /dev/pids/tasks", 19 "chown root appspawn /dev/pids/cgroup.procs", 20 "chmod 0755 /dev/pids", 21 "chmod 0755 /dev/pids/tasks", 22 "chmod 0755 /dev/pids/cgroup.procs"
|
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
D | peer_binder_catcher.cpp | 87 std::set<int> pids = GetBinderPeerPids(fd, jsonFd); in Catch() local 88 if (pids.empty()) { in Catch() 93 ForkToDumpHiperf(pids); in Catch() 96 for (auto pidTemp : pids) { in Catch() 240 std::set<int> pids; in GetBinderPeerPids() local 248 return pids; in GetBinderPeerPids() 255 return pids; in GetBinderPeerPids() 260 pids.insert(each.server); in GetBinderPeerPids() 263 ParseBinderCallChain(manager, pids, pid_); in GetBinderPeerPids() 265 return pids; in GetBinderPeerPids() [all …]
|
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/include/ |
D | peer_binder_catcher.h | 70 std::set<int>& pids, int pid) const; 75 void ForkToDumpHiperf(const std::set<int>& pids); 76 void DoExecHiperf(const std::string& fileName, const std::set<int>& pids);
|
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/ |
D | event_logger_catcher_test.cpp | 650 std::set<int> pids; variable 651 pids.insert(pid); 652 peerBinderCatcher->DoExecHiperf("peerBinderCatcher", pids); 702 std::set<int> pids; variable 703 pids.insert(0); 704 pids.insert(2); 713 peerBinderCatcher->ParseBinderCallChain(manager, pids, 0); 720 peerBinderCatcher->ParseBinderCallChain(manager, pids, 1); 722 pids.insert(3); 723 pids.insert(4); [all …]
|
/base/startup/appspawn/adapter/ |
D | appspawn_cgroup.c | 82 static int WriteToFile(const char *path, int truncated, pid_t pids[], uint32_t count) in WriteToFile() argument 90 APPSPAWN_LOGV(" WriteToFile pid %{public}d ", pids[i]); in WriteToFile() 91 if (pids[i] == 0) { in WriteToFile() 94 ret = snprintf_s(pidName, sizeof(pidName), sizeof(pidName) - 1, "%d\n", pids[i]); in WriteToFile()
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_filter.h | 38 uint32_t pids[MAX_PIDS]; member 59 std::cout << " pid[" << i << "]" << pids[i] << std::endl; in Print()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 98 std::vector<int32_t> pids; in GetAllPids() local 104 pids.push_back(std::stoi(pid)); in GetAllPids() 106 return pids; in GetAllPids() 192 bool DumpCommonUtils::GetUserPids(std::vector<int> &pids) in GetUserPids() argument 214 pids.push_back(pid); in GetUserPids()
|
D | dump_manager_service.cpp | 197 std::vector<int32_t> pids = DumpCommonUtils::GetAllPids(); in ScanPidOverLimit() local 198 for (const auto &pid : pids) { in ScanPidOverLimit()
|
/base/startup/appspawn/modules/common/ |
D | appspawn_cgroup.c | 48 APPSPAWN_STATIC int WriteToFile(const char *path, int truncated, pid_t pids[], uint32_t count) in WriteToFile() argument 56 APPSPAWN_LOGV(" WriteToFile pid %{public}d ", pids[i]); in WriteToFile() 57 ret = snprintf_s(pidName, sizeof(pidName), sizeof(pidName) - 1, "%d\n", pids[i]); in WriteToFile()
|
/base/hiviewdfx/hidumper/test/unittest/common/ |
D | hidumper_configutils_test.cpp | 205 std::vector<int32_t> pids = DUMP_COMMON_UTILS.GetAllPids(); variable 206 ASSERT_FALSE(pids.empty()) << "GetAllPids result is empty."; 227 std::vector<int> pids; variable 228 ASSERT_TRUE(DUMP_COMMON_UTILS.GetUserPids(pids));
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
D | app_spawn_cgroup_test.cpp | 126 pid_t pids[] = {100, 101, 102}; variable 127 ret = WriteToFile(path, 0, pids, 3); 269 pid_t pids[] = {100, 101, 102}; variable 270 ret = WriteToFile(path, 0, pids, 3);
|
/base/startup/appspawn/test/mock/ |
D | app_spawn_stub.h | 63 int WriteToFile(const char *path, int truncated, pid_t pids[], uint32_t count);
|
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
D | dump_common_utils.h | 56 static bool GetUserPids(std::vector<int> &pids);
|
/base/hiviewdfx/hilog/services/hilogtool/ |
D | main.cpp | 312 uint32_t pids[MAX_PIDS]; member 327 … pidCount(0), pids { 0 }, types(0), blackTag(false), tagCount(0), tags { "" }, colorful(false), 350 rqst.pids[i] = pids[i]; in ToOutputRqst() 663 std::vector<std::string> pids; in PidHandler() local 664 Split(context.blackPid ? arg + 1 : arg, pids); in PidHandler() 665 if (pids.size() == 0) { in PidHandler() 669 for (string p : pids) { in PidHandler() 678 context.pids[index++] = static_cast<uint32_t>(pid); in PidHandler()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
D | dfx_signal_handler.c | 643 pid_t pids[PID_MAX] = {0}; in StartVMProcessUnwind() local 644 pids[REAL_PROCESS_PID] = GetRealPid(); in StartVMProcessUnwind() 645 pids[VIRTUAL_PROCESS_PID] = syscall(SYS_getpid); in StartVMProcessUnwind() 647 OHOS_TEMP_FAILURE_RETRY(write(g_pipeFds[WRITE_TO_DUMP][1], pids, sizeof(pids))); in StartVMProcessUnwind() 654 DFXLOG_INFO("processdump unwind finish, exit vm pid = %d", pids[VIRTUAL_PROCESS_PID]); in StartVMProcessUnwind()
|
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/ |
D | fault_detector_util.cpp | 192 vector<int32_t> pids; in GetAllPids() local 197 pids.push_back(stoi(pid)); in GetAllPids() 199 return pids; in GetAllPids()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | process_dumper.cpp | 207 pid_t pids[PID_MAX] = {0}; in ReadPids() local 208 OHOS_TEMP_FAILURE_RETRY(read(STDIN_FILENO, pids, sizeof(pids))); in ReadPids() 209 realPid = pids[REAL_PROCESS_PID]; in ReadPids() 210 vmPid = pids[VIRTUAL_PROCESS_PID]; in ReadPids()
|
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/ |
D | native_leak_detector.cpp | 96 vector<int> pids = FaultDetectorUtil::GetAllPids(); in UpdateUserMonitorInfo() local 98 for (auto pid : pids) { in UpdateUserMonitorInfo()
|
/base/hiviewdfx/hilog/frameworks/libhilog/include/ |
D | hilog_cmd.h | 86 uint32_t pids[MAX_PIDS]; member
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | service_controller.cpp | 478 filter.pids[i] = rqst.pids[i]; in LogFilterFromOutputRqst() 488 filter.pids[0] = pid; in LogFilterFromOutputRqst() 492 filter.pids[1] = ppid; in LogFilterFromOutputRqst()
|
D | log_buffer.cpp | 205 if (logData.pid == filter.pids[i]) { in LogMatchFilter()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | memory_info.cpp | 989 std::vector<int32_t> pids(pids_); in GetMemoryInfoNoPid() local 990 for (auto pid : pids) { in GetMemoryInfoNoPid()
|
/base/security/selinux_adapter/sepolicy/ohos_policy/startup/appspawn/system/ |
D | appspawn.te | 141 # for app cgroup pids
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest010/ |
D | appfreeze-com.example.jsinject-20010039-19700326211815 | 648 PeerBinder pids is empty
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest011/ |
D | appfreeze-com.example.jsinject-20010039-19700326211815 | 648 PeerBinder pids is empty
|