Lines Matching refs:pids
590 bool SubCommandStat::CheckOptionPidAndApp(std::vector<pid_t> pids) in CheckOptionPidAndApp() argument
592 if (!CheckOptionPid(pids)) { in CheckOptionPidAndApp()
602 bool SubCommandStat::CheckOptionPid(std::vector<pid_t> pids) in CheckOptionPid() argument
604 if (pids.empty()) { in CheckOptionPid()
608 for (auto pid : pids) { in CheckOptionPid()
654 std::vector<pid_t> pids; in OnSubCommand() local
657 pids.push_back(selectPid); in OnSubCommand()
660 pids.insert(pids.end(), subTids.begin(), subTids.end()); in OnSubCommand()
665 pids.insert(pids.end(), selectTids_.begin(), selectTids_.end()); in OnSubCommand()
666 perfEvents_.SetPid(pids); in OnSubCommand()
667 if (!CheckOptionPidAndApp(pids)) { in OnSubCommand()
752 bool SubCommandStat::CheckOptions(const std::vector<pid_t> &pids) in CheckOptions() argument
755 if (!pids.empty() || !selectTids_.empty()) { in CheckOptions()
764 if (!appPackage_.empty() && (!pids.empty() || !selectTids_.empty())) { in CheckOptions()
768 if (!targetSystemWide_ && trackedCommand_.empty() && pids.empty() && appPackage_.empty() in CheckOptions()
778 if (!pids.empty() || !selectTids_.empty()) { in CheckOptions()