fs: implement AccessLog, enable for File operations

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-02 14:02:50 -07:00
1 parent 3fe7700e5c
commit e2b17086d4
36 files changed
+1930 -362

No files matched your search

+3
View File
@@ -142,6 +142,9 @@ namespace {
int main(int argc, char **argv)
{
/* Disable auto-abort in fs operations. */
fs::SetEnabledAutoAbort(false);
/* Set thread name. */
os::SetThreadNamePointer(os::GetCurrentThread(), AMS_GET_SYSTEM_THREAD_NAME(fatal, Main));
AMS_ASSERT(os::GetThreadPriority(os::GetCurrentThread()) == AMS_GET_SYSTEM_THREAD_PRIORITY(fatal, Main));