2021-06-27 21:25:29 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: Telemetry.hpp
|
|
|
|
Date: 2021-6-17
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::Telemetry
|
|
|
|
{
|
|
|
|
void InsertOSError(const Debug::OSError_t &osError);
|
|
|
|
void InsertMsgError(const Debug::LastError &error);
|
|
|
|
void InsertCError(AuSInt cError);
|
2022-01-21 16:26:35 +00:00
|
|
|
void BeginBlock();
|
|
|
|
void EndBlock();
|
2021-06-27 21:25:29 +00:00
|
|
|
void InsertManualFence(AuUInt32 fence);
|
2022-01-21 16:26:35 +00:00
|
|
|
void InsertBackTrace(AuUInt32 fence);
|
2021-09-14 23:56:26 +00:00
|
|
|
void ReportSysInfo();
|
2021-06-27 21:25:29 +00:00
|
|
|
void Report(Telemetry::NewBlockboxEntry &entry);
|
2022-01-27 05:24:08 +00:00
|
|
|
void ReportDyingBreath(Telemetry::NewBlackBoxEntryMinidump &entry);
|
2021-09-14 23:56:26 +00:00
|
|
|
void Init();
|
2021-06-27 21:25:29 +00:00
|
|
|
}
|