Home
last modified time | relevance | path

Searched refs:catcher (Results 1 - 3 of 3) sorted by relevance

/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Devent_log_task.cpp138 for (auto& catcher : tasks_) { in StartCompose()
142 AddStopReason(targetFd_, catcher, "Fail to dup file descriptor, exit!"); in StartCompose()
146 AddSeparator(dupedFd, catcher); in StartCompose()
147 int curLogSize = catcher->Catch(dupedFd, dupedJsonFd); in StartCompose()
148 HIVIEW_LOGI("finish catcher: %{public}s, curLogSize: %{public}d", catcher->GetDescription().c_str(), in StartCompose()
150 if (ShouldStopLogTask(dupedFd, catcherIndex, curLogSize, catcher)) { in StartCompose()
165 std::shared_ptr<EventLogCatcher> catcher) in ShouldStopLogTask()
179 AddStopReason(fd, catcher, "Exceed max log size"); in ShouldStopLogTask()
185 AddStopReason(fd, catcher, "Lo in ShouldStopLogTask()
164 ShouldStopLogTask(int fd, uint32_t curTaskIndex, int curLogSize, std::shared_ptr<EventLogCatcher> catcher) ShouldStopLogTask() argument
191 AddStopReason(int fd, std::shared_ptr<EventLogCatcher> catcher, const std::string& reason) AddStopReason() argument
[all...]
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/include/
H A Devent_log_task.h68 bool ShouldStopLogTask(int fd, uint32_t curTaskIndex, int curLogSize, std::shared_ptr<EventLogCatcher> catcher);
69 void AddStopReason(int fd, std::shared_ptr<EventLogCatcher> catcher, const std::string& reason);
70 void AddSeparator(int fd, std::shared_ptr<EventLogCatcher> catcher) const;
/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerddumpcatcher_fuzzer/
H A Dfaultloggerddumpcatcher_fuzzer.cpp47 std::shared_ptr<DfxDumpCatcher> catcher = std::make_shared<DfxDumpCatcher>(); in DumpStackTraceTest() local
48 catcher->DumpCatch(pid, tid, msg, DEFAULT_MAX_FRAME_NUM, false); in DumpStackTraceTest()

Completed in 2 milliseconds