Home
last modified time | relevance | path

Searched refs:LogPersister (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
Dlog_persister.cpp57 std::recursive_mutex LogPersister::s_logPersistersMtx;
58 std::list<std::shared_ptr<LogPersister>> LogPersister::s_logPersisters;
60 std::shared_ptr<LogPersister> LogPersister::CreateLogPersister(HilogBuffer &buffer) in CreateLogPersister()
62 return std::shared_ptr<LogPersister>(new LogPersister(buffer)); in CreateLogPersister()
65 LogPersister::LogPersister(HilogBuffer &buffer) : m_hilogBuffer(buffer) in LogPersister() function in OHOS::HiviewDFX::LogPersister
72 LogPersister::~LogPersister() in ~LogPersister()
78 int LogPersister::InitCompression() in InitCompression()
103 int LogPersister::InitFileRotator(const PersistRecoveryInfo& info, bool restore) in InitFileRotator()
125 int LogPersister::Init(const PersistRecoveryInfo& info, bool restore) in Init()
169 int LogPersister::Deinit() in Deinit()
[all …]
Dservice_controller.cpp568 std::shared_ptr<LogPersister> persister = LogPersister::CreateLogPersister(hilogBuffer); in StartPersistStoreJob()
599 LogPersister::Query(resultList); in HandlePersistStartRqst()
621 LogPersister::Query(resultList); in HandlePersistStopRqst()
629 (void)LogPersister::Kill(jobId); in HandlePersistStopRqst()
645 LogPersister::Query(resultList); in HandlePersistQueryRqst()
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_persister.h49 class LogPersister : public std::enable_shared_from_this<LogPersister> {
51 [[nodiscard]] static std::shared_ptr<LogPersister> CreateLogPersister(HilogBuffer &buffer);
53 ~LogPersister();
67 explicit LogPersister(HilogBuffer &buffer);
70 static std::shared_ptr<LogPersister> GetLogPersisterById(uint32_t id);
71 static void RegisterLogPersister(const std::shared_ptr<LogPersister>& obj);
72 static void DeregisterLogPersister(const std::shared_ptr<LogPersister>& obj);
107 static std::list<std::shared_ptr<LogPersister>> s_logPersisters;