Home
last modified time | relevance | path

Searched refs:watchPoint (Results 1 – 11 of 11) sorted by relevance

/base/hiviewdfx/hiview/plugins/freeze_detector/
Dvendor.cpp40 std::list<WatchPoint>::iterator watchPoint; in ReduceRelevanceEvents() local
41 for (watchPoint = list.begin(); watchPoint != list.end();) { in ReduceRelevanceEvents()
42 if (freezeCommon_->IsSystemEvent(watchPoint->GetDomain(), watchPoint->GetStringId())) { in ReduceRelevanceEvents()
43 watchPoint++; in ReduceRelevanceEvents()
45 watchPoint = list.erase(watchPoint); in ReduceRelevanceEvents()
52 std::list<WatchPoint>::iterator watchPoint; in ReduceRelevanceEvents() local
53 for (watchPoint = list.begin(); watchPoint != list.end();) { in ReduceRelevanceEvents()
54 … if (freezeCommon_->IsApplicationEvent(watchPoint->GetDomain(), watchPoint->GetStringId())) { in ReduceRelevanceEvents()
55 watchPoint++; in ReduceRelevanceEvents()
57 watchPoint = list.erase(watchPoint); in ReduceRelevanceEvents()
[all …]
Dresolver.cpp44 void FreezeResolver::MatchEvent(const WatchPoint& watchPoint, in MatchEvent() argument
47 std::string domain = watchPoint.GetDomain(); in MatchEvent()
48 std::string stringId = watchPoint.GetStringId(); in MatchEvent()
49 std::string package = watchPoint.GetPackageName(); in MatchEvent()
66 bool FreezeResolver::ResolveEvent(const WatchPoint& watchPoint, in ResolveEvent() argument
72 if (!freezeRuleCluster_->GetResult(watchPoint, result)) { in ResolveEvent()
75 unsigned long long timestamp = watchPoint.GetTimestamp(); in ResolveEvent()
80 list.push_back(watchPoint); in ResolveEvent()
94 MatchEvent(watchPoint, wpList, list, i); in ResolveEvent()
101 bool FreezeResolver::JudgmentResult(const WatchPoint& watchPoint, in JudgmentResult() argument
[all …]
Dfreeze_detector_plugin.cpp120 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() in MakeWatchPoint() local
138 return watchPoint; in MakeWatchPoint()
159 WatchPoint watchPoint = MakeWatchPoint(event); in OnEventListeningCallback() local
160 if (watchPoint.GetLogPath().empty()) { in OnEventListeningCallback()
166 bool ruleRet = freezeRuleCluster->GetResult(watchPoint, freezeResultList); in OnEventListeningCallback()
180 auto task = std::bind(&FreezeDetectorPlugin::ProcessEvent, this, watchPoint); in OnEventListeningCallback()
184 void FreezeDetectorPlugin::ProcessEvent(WatchPoint watchPoint) in ProcessEvent() argument
187 watchPoint.GetDomain().c_str(), watchPoint.GetStringId().c_str()); in ProcessEvent()
193 auto ret = freezeResolver_->ProcessEvent(watchPoint); in ProcessEvent()
Dresolver.h43 int ProcessEvent(const WatchPoint &watchPoint) const;
50 bool ResolveEvent(const WatchPoint& watchPoint,
52 void MatchEvent(const WatchPoint& watchPoint,
54 bool JudgmentResult(const WatchPoint& watchPoint,
Ddb_helper.cpp68 WatchPoint watchPoint = WatchPoint::Builder() in SelectEventFromDB() local
85 watchPoint.SetLogPath(result[1].str()); in SelectEventFromDB()
88 list.push_back(watchPoint); in SelectEventFromDB()
95 void DBHelper::UpdateEventIntoDB(const WatchPoint& watchPoint, int id) in UpdateEventIntoDB() argument
100 ….Where(EventStore::EventCol::TS, EventStore::Op::EQ, static_cast<int64_t>(watchPoint.GetTimestamp(… in UpdateEventIntoDB()
111 std::string logPath = watchPoint.GetLogPath(); in UpdateEventIntoDB()
119 …HIVIEW_LOGE("failed to update info into db, stringId:%{public}s.", watchPoint.GetStringId().c_str(… in UpdateEventIntoDB()
Dvendor.h40 …pEventInfo(std::ostringstream& oss, const std::string& header, const WatchPoint& watchPoint) const;
42 const WatchPoint &watchPoint, const std::vector<WatchPoint>& list,
66 std::string SendFaultLog(const WatchPoint &watchPoint, const std::string& logPath,
Ddb_helper.h33 void UpdateEventIntoDB(const WatchPoint& watchPoint, int id);
Dfreeze_detector_plugin.h44 void ProcessEvent(WatchPoint watchPoint);
Dwatch_point.cpp117 WatchPoint watchPoint = WatchPoint(*this); in Build() local
118 return watchPoint; in Build()
Drule_cluster.cpp223 bool FreezeRuleCluster::GetResult(const WatchPoint& watchPoint, std::vector<FreezeResult>& list) in GetResult() argument
225 std::string domain = watchPoint.GetDomain(); in GetResult()
226 std::string stringId = watchPoint.GetStringId(); in GetResult()
Drule_cluster.h154 bool GetResult(const WatchPoint& watchPoint, std::vector<FreezeResult>& list);