Lines Matching defs:pid
136 long pid = sysEvent->GetEventIntValue("PID") ? sysEvent->GetEventIntValue("PID") : sysEvent->GetPid();
141 ReportUserPanicWarning(sysEvent, pid);
151 HIVIEW_LOGI("domain=%{public}s, eventName=%{public}s, pid=%{public}ld", domain.c_str(), eventName.c_str(), pid);
153 if (CheckProcessRepeatFreeze(eventName, pid)) {
157 HIVIEW_LOGI("eventName=%{public}s, pid=%{public}ld, eventLog_action is empty.", eventName.c_str(), pid);
174 HIVIEW_LOGI("before submit event task to ffrt, eventName=%{public}s, pid=%{public}ld", eventName.c_str(), pid);
176 HIVIEW_LOGD("after submit event task to ffrt, eventName=%{public}s, pid=%{public}ld", eventName.c_str(), pid);
184 int32_t pid = static_cast<int32_t>(event->GetEventIntValue("PID"));
185 pid = pid ? pid : event->GetPid();
188 logFile = idStr + "-" + std::to_string(pid) + "-" + formatTime + ".log";
190 logFile = "ffrt_" + std::to_string(pid) + "_" + formatTime;
269 long pid = event->GetEventIntValue("PID") ? event->GetEventIntValue("PID") : event->GetPid();
272 event->eventName_ + "], pid: " + std::to_string(pid) + ", uid: " + std::to_string(uid) + "\n";
509 long pid = event->GetEventIntValue("PID");
510 pid = pid ? pid : event->GetPid();
511 headerStream << "PID = " << pid << std::endl;
518 headerStream << "TID = " << pid << std::endl;
633 int32_t pid = static_cast<int32_t>(event->GetEventIntValue("PID"));
634 pid = pid ? pid : event->GetPid();
636 std::string logFile = idStr + "-" + std::to_string(pid) + "-" + formatTime + "-KernelStack-" +
656 std::string tags = "PeerBinder catcher stacktrace for pid ";
735 long pid = event->GetEventIntValue("PID") ? event->GetEventIntValue("PID") : event->GetPid();
742 DBHelper::WatchParams params = {pid, packageName};
761 int64_t pid = event->GetEventIntValue("PID");
762 pid = pid ? pid : event->GetPid();
764 std::string eventPid = std::to_string(pid);
782 HIVIEW_LOGE("event: id:0x%{public}d, eventName:%{public}s pid:%{public}s. \
790 HIVIEW_LOGD("event: id:0x%{public}d, eventName:%{public}s pid:%{public}s. \
832 void EventLogger::ReportUserPanicWarning(std::shared_ptr<SysEvent> event, long pid)
867 userPanicEvent->SetEventValue("PID", pid);
885 bool EventLogger::CheckProcessRepeatFreeze(const std::string& eventName, long pid)
890 lastPid_ = pid;
892 if (lastPid == pid) {
893 HIVIEW_LOGI("eventName=%{public}s, pid=%{public}ld has happened", lastEventName.c_str(), pid);