/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | watch_point.cpp | 22 WatchPoint::WatchPoint() in WatchPoint() function in OHOS::HiviewDFX::WatchPoint 27 WatchPoint::WatchPoint(const WatchPoint::Builder& builder) in WatchPoint() function in OHOS::HiviewDFX::WatchPoint 52 WatchPoint::Builder& WatchPoint::Builder::InitSeq(long seq) in InitSeq() 64 WatchPoint::Builder& WatchPoint::Builder::InitPid(long pid) in InitPid() 70 WatchPoint::Builder& WatchPoint::Builder::InitUid(long uid) in InitUid() 76 WatchPoint::Builder& WatchPoint::Builder::InitTid(long tid) in InitTid() 94 WatchPoint::Builder& WatchPoint::Builder::InitMsg(const std::string& msg) in InitMsg() 136 WatchPoint WatchPoint::Builder::Build() const in Build() 138 WatchPoint watchPoint = WatchPoint(*this); in Build() 222 bool WatchPoint::operator<(const WatchPoint& node) const in operator <() [all …]
|
H A D | vendor.h | 41 …void DumpEventInfo(std::ostringstream& oss, const std::string& header, const WatchPoint& watchPoin… 42 void InitLogInfo(const WatchPoint& watchPoint, std::string& type, std::string& pubLogPathName, 44 void InitLogBody(const std::vector<WatchPoint>& list, std::ostringstream& body, 47 const WatchPoint &watchPoint, const std::vector<WatchPoint>& list, 49 bool ReduceRelevanceEvents(std::list<WatchPoint>& list, const FreezeResult& result) const; 71 …std::string SendFaultLog(const WatchPoint &watchPoint, const std::string& logPath, const std::stri… 73 … void MergeFreezeJsonFile(const WatchPoint &watchPoint, const std::vector<WatchPoint>& list) const; 74 static void InitLogFfrt(const WatchPoint &watchPoint, std::ostringstream& ffrt);
|
H A D | watch_point.h | 24 class WatchPoint { 44 WatchPoint Build() const; 61 friend class WatchPoint; variable 64 WatchPoint(); 65 explicit WatchPoint(const WatchPoint::Builder& builder); 66 ~WatchPoint() {}; in ~WatchPoint() 84 bool operator<(const WatchPoint& node) const; 85 bool operator==(const WatchPoint& node) const;
|
H A D | db_helper.cpp | 29 EventStore::ResultSet& set, std::map<std::string, WatchPoint>& resultMap) in GetResultMap() 50 WatchPoint watchPoint = WatchPoint::Builder() in GetResultMap() 66 resultMap.insert(std::pair<std::string, WatchPoint>(key, watchPoint)); in GetResultMap() 71 …:SelectEventFromDB(unsigned long long start, unsigned long long end, std::vector<WatchPoint>& list, in SelectEventFromDB() 97 std::map<std::string, WatchPoint> resultMap; in SelectEventFromDB() 100 std::map<std::string, WatchPoint>::iterator it; in SelectEventFromDB() 104 …sort(list.begin(), list.end(), [] (const WatchPoint& frontWatchPoint, const WatchPoint& rearWatchP… in SelectEventFromDB()
|
H A D | resolver.h | 43 int ProcessEvent(const WatchPoint &watchPoint) const; 52 bool ResolveEvent(const WatchPoint& watchPoint, 53 std::vector<WatchPoint>& list, std::vector<FreezeResult>& result) const; 54 bool JudgmentResult(const WatchPoint& watchPoint, 55 const std::vector<WatchPoint>& list, const std::vector<FreezeResult>& result) const;
|
H A D | resolver.cpp | 44 bool FreezeResolver::ResolveEvent(const WatchPoint& watchPoint, in ResolveEvent() 45 std::vector<WatchPoint>& list, std::vector<FreezeResult>& result) const in ResolveEvent() 71 bool FreezeResolver::JudgmentResult(const WatchPoint& watchPoint, in JudgmentResult() 72 const std::vector<WatchPoint>& list, const std::vector<FreezeResult>& result) const in JudgmentResult() 104 int FreezeResolver::ProcessEvent(const WatchPoint &watchPoint) const in ProcessEvent() 111 std::vector<WatchPoint> list; in ProcessEvent()
|
H A D | vendor.cpp | 35 bool Vendor::ReduceRelevanceEvents(std::list<WatchPoint>& list, const FreezeResult& result) const in ReduceRelevanceEvents() 49 std::list<WatchPoint>::iterator watchPoint; in ReduceRelevanceEvents() 61 std::list<WatchPoint>::iterator watchPoint; in ReduceRelevanceEvents() 73 std::list<WatchPoint>::iterator watchPoint; in ReduceRelevanceEvents() 100 std::string Vendor::SendFaultLog(const WatchPoint &watchPoint, const std::string& logPath, in SendFaultLog() 129 void Vendor::DumpEventInfo(std::ostringstream& oss, const std::string& header, const WatchPoint& wa… in DumpEventInfo() 144 void Vendor::MergeFreezeJsonFile(const WatchPoint &watchPoint, const std::vector<WatchPoint>& list)… in MergeFreezeJsonFile() 186 void Vendor::InitLogInfo(const WatchPoint& watchPoint, std::string& type, std::string& pubLogPathNa… in InitLogInfo() 207 void Vendor::InitLogBody(const std::vector<WatchPoint>& list, std::ostringstream& body, in InitLogBody() 246 void Vendor::InitLogFfrt(const WatchPoint &watchPoint, std::ostringstream& ffrt) in InitLogFfrt() [all …]
|
H A D | freeze_detector_plugin.cpp | 99 WatchPoint FreezeDetectorPlugin::MakeWatchPoint(const Event& event) in MakeWatchPoint() 125 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() in MakeWatchPoint() 191 WatchPoint watchPoint = MakeWatchPoint(event); in OnEventListeningCallback() 219 void FreezeDetectorPlugin::ProcessEvent(WatchPoint watchPoint) in ProcessEvent()
|
H A D | db_helper.h | 39 EventStore::ResultSet& set, std::map<std::string, WatchPoint>& resultMap); 40 …void SelectEventFromDB(unsigned long long start, unsigned long long end, std::vector<WatchPoint>& …
|
H A D | freeze_detector_plugin.h | 46 WatchPoint MakeWatchPoint(const Event& event); 48 void ProcessEvent(WatchPoint watchPoint);
|
H A D | rule_cluster.h | 179 bool GetResult(const WatchPoint& watchPoint, std::vector<FreezeResult>& list);
|
H A D | rule_cluster.cpp | 229 bool FreezeRuleCluster::GetResult(const WatchPoint& watchPoint, std::vector<FreezeResult>& list) in GetResult()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/ |
H A D | freeze_detector_unittest.cpp | 131 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() 150 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() 169 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() 188 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() 197 WatchPoint watchPoint1 = OHOS::HiviewDFX::WatchPoint::Builder() 260 WatchPoint watchPoint1 = OHOS::HiviewDFX::WatchPoint::Builder() 266 WatchPoint watchPoint2 = OHOS::HiviewDFX::WatchPoint::Builder() 332 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() 351 WatchPoint watchPoint = OHOS::HiviewDFX::WatchPoint::Builder() 740 WatchPoint point = OHOS::HiviewDFX::WatchPoint::Builder() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 712 std::vector<WatchPoint> list; in GetFailedDumpStackMsg() 719 std::for_each(list.begin(), list.end(), [&appendStack] (const WatchPoint& watchPoint) { in GetFailedDumpStackMsg()
|